mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Rename Vector2.tangent() to Vector2.orthogonal()
This commit is contained in:
parent
d834789f47
commit
a24c38d1a8
21 changed files with 42 additions and 42 deletions
|
|
@ -1689,7 +1689,7 @@ void RendererCanvasRenderRD::light_update_directional_shadow(RID p_rid, int p_sh
|
|||
|
||||
to_light_xform[2] = from_pos;
|
||||
to_light_xform[1] = light_dir;
|
||||
to_light_xform[0] = -light_dir.tangent();
|
||||
to_light_xform[0] = -light_dir.orthogonal();
|
||||
|
||||
to_light_xform.invert();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue