mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
parent
a2b4093a50
commit
4601328542
@ -1167,7 +1167,7 @@ void PrismMesh::_create_mesh_array(Array &p_arr) const {
|
||||
Vector3 normal_left, normal_right;
|
||||
|
||||
normal_left = Vector3(-size.y, size.x * left_to_right, 0.0);
|
||||
normal_right = Vector3(size.y, size.x * left_to_right, 0.0);
|
||||
normal_right = Vector3(size.y, size.x * (1.0 - left_to_right), 0.0);
|
||||
normal_left.normalize();
|
||||
normal_right.normalize();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user