Package aspect.util

Examples of aspect.util.Matrix4x4.transformVector()


                    if (skybox != null) {
                        loadIdentity();
                        Matrix4x4 m = camera.getCamMatrix();
                        skybox.transform.global.forward = m.transformVector(Vector3.zAxis().negate());
                        skybox.transform.global.up = m.transformVector(Vector3.yAxis());
                        skybox.render();
                        clearDepthBuffer();
                        camera.transformCamera();
                    }
                   
View Full Code Here


       
        vel.flip();

        Matrix4x4 m = ent.transform.getMdlMatrix();

        m.transformVector(Vector3.zAxis().negate()).store(ori);
        m.transformVector(Vector3.yAxis()).store(ori);
       
        ori.flip();

        alListener(AL_ORIENTATION, ori);
View Full Code Here

        vel.flip();

        Matrix4x4 m = ent.transform.getMdlMatrix();

        m.transformVector(Vector3.zAxis().negate()).store(ori);
        m.transformVector(Vector3.yAxis()).store(ori);
       
        ori.flip();

        alListener(AL_ORIENTATION, ori);
        alListener(AL_POSITION, pos);
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.