From 455ed4213ab3057919e22e3a0210d8d80795338d Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 4 Nov 2007 15:32:52 +0000 Subject: [PATCH] Updated to use the new math classes. --- Source/Examples/Shapes/IsoSphere.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Examples/Shapes/IsoSphere.cs b/Source/Examples/Shapes/IsoSphere.cs index 47d46870..c578e436 100644 --- a/Source/Examples/Shapes/IsoSphere.cs +++ b/Source/Examples/Shapes/IsoSphere.cs @@ -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; }