mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 16:15:38 +00:00
Updated to use the new math classes.
This commit is contained in:
parent
75cd2b0994
commit
70c5a90312
|
@ -34,7 +34,7 @@ namespace Examples.Shapes
|
|||
Vertices[i].Y = y_scale * (float)(System.Math.Sin(s) * System.Math.Sin(t));
|
||||
Vertices[i].Z = z_scale * (float)System.Math.Cos(t);
|
||||
//vertices[i] = vertices[i].Scale(x_scale, y_scale, z_scale);
|
||||
Normals[i] = Vertices[i].Normalize();
|
||||
Normals[i] = Vector3.Normalize(Vertices[i]);
|
||||
|
||||
++i;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue