Package wecui.render.shapes

Examples of wecui.render.shapes.Render3DBox


    public void render(int min, int max) {
        float off = 0.03f;
        Vector2 minVec = new Vector2(off, off);
        Vector2 maxVec = new Vector2(off + 1, off + 1);

        new Render3DBox(color, point.subtract(minVec).toVector3(min - off), point.add(maxVec).toVector3(max + 1 + off)).render();
    }
View Full Code Here


        if (firstPoint != null && secondPoint != null) {
            firstPoint.render();
            secondPoint.render();

            Vector3[] bounds = this.calcBounds();
            new Render3DBox(LineColor.CUBOIDBOX, bounds[0], bounds[1]).render();
            new Render3DGrid(LineColor.CUBOIDGRID, bounds[0], bounds[1]).render();

        } else if (firstPoint != null) {
            firstPoint.render();
        } else if (secondPoint != null) {
View Full Code Here

    public void render() {
        double off = 0.03f;
        Vector3 minVec = new Vector3(off, off, off);
        Vector3 maxVec = new Vector3(off + 1, off + 1, off + 1);

        new Render3DBox(color, point.subtract(minVec), point.add(maxVec)).render();
    }
View Full Code Here

TOP

Related Classes of wecui.render.shapes.Render3DBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.