Exemple #1
0
 public void New()
 {
     Assert.AreEqual(new CFrame(1, 2, 3), CFrame.@new(1, 2, 3));
     Assert.AreEqual(new CFrame(1, 2, 3, 4, 5, 6, 7), CFrame.@new(1, 2, 3, 4, 5, 6, 7));
     Assert.AreEqual(new CFrame(new Vector3(1, 2, 3)), CFrame.@new(new Vector3(1, 2, 3)));
     Assert.AreEqual(new CFrame(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12),
                     CFrame.@new(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12));
     Assert.AreEqual(new CFrame(1, 2, 3), CFrame.@new(1, 2, 3));
 }