Skip to content
Snippets Groups Projects
Commit 2cf1c2f7 authored by mariuskern's avatar mariuskern
Browse files

Triangle Rotation fixed

parent 94b0d07a
Branches
Tags v0.0.6
No related merge requests found
......@@ -75,6 +75,11 @@ protected void calculate_vectors(){
up = up + (C - c);
}
if ((C - c).y < 0)
{
up = -up;
}
Rotation = Quaternion.LookRotation(forward, up);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment