Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void RenderBox()
 {
     Render(BoxTessellator.Compute(new Vector3D(1, 1, 1)));
 }