Examples of PBufferCanvas3D


Examples of com.xith3d.render.jogl.PBufferCanvas3D

    public void attach(View3DShape shape) {
        this.shape = shape; // caller will decide whether to notifyChange() the shape or not
        if (canvas!=null) view.removeCanvas3D(canvas);
        Rectangle bounds = shape.getBounds();
    canvas = new PBufferCanvas3D(bounds.width,bounds.height);
    transformator.setWSize(Math.min(bounds.width,bounds.height));
    transformator.updateZoomMatrix();
        view.addCanvas3D(canvas);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.