public void ApplyTransform(Transformation transform) { // Now that we have the correct transformation, use it to change the vertices for (int ctr = 0; ctr < Vertices.Length; ctr++) { Vector3f vec = Vertices[ctr]; float3 floatIn = new float3(vec.x, vec.y, vec.z); float3 floatOut = transform.ApplyForward(floatIn); Vertices[ctr] = new Vector3f(floatOut.x, floatOut.y, floatOut.z); } }