Beispiel #1
0
        public void RenderToGlRecursive(BoxPrimitive objectToProcess)
        {
            if (objectToProcess.CreateCentered)
            {
                //objectToProcess.Size;
            }
            else
            {
            }

            RGBA_Floats partColor = new RGBA_Floats(.8, .8, 1);

            RenderMeshToGl.Render(CreateBox(objectToProcess.GetAxisAlignedBoundingBox()), partColor);
        }
Beispiel #2
0
        public void RenderToGlRecursive(Csg.Solids.Mesh objectToProcess)
        {
            RGBA_Floats partColor = new RGBA_Floats(.8, .8, 1);

            RenderMeshToGl.Render(objectToProcess.GetMesh(), partColor);
        }
Beispiel #3
0
        public void RenderToGlRecursive(Cylinder.CylinderPrimitive objectToProcess)
        {
            RGBA_Floats partColor = new RGBA_Floats(.8, .8, 1);

            RenderMeshToGl.Render(CreateCylinder(objectToProcess), partColor);
        }