public void BoxTessellatorTest()
        {
            Mesh mesh = BoxTessellator.Compute(new Vector3D(1, 1, 1));

            Assert.IsNotNull(mesh.Attributes["position"] as VertexAttributeDoubleVector3);
            Assert.IsNotNull(mesh.Indices as IndicesUnsignedShort);
        }
Esempio n. 2
0
 public void RenderBox()
 {
     Render(BoxTessellator.Compute(new Vector3D(1, 1, 1)));
 }