Package aspect.util

Examples of aspect.util.Matrix4x4


    }

    public static Matrix4x4 modelViewMatrix() {
        FloatBuffer buffer = BufferUtils.createFloatBuffer(16);
        glGetFloat(GL_MODELVIEW_MATRIX, buffer);
        return new Matrix4x4(buffer);
    }
View Full Code Here


    }

    public static Matrix4x4 projectionMatrix() {
        FloatBuffer mat = BufferUtils.createFloatBuffer(16);
        glGetFloat(GL_PROJECTION_MATRIX, mat);
        return new Matrix4x4(mat);
    }
View Full Code Here

            Vector3.zero().store(vel);
        }
       
        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

Related Classes of aspect.util.Matrix4x4

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.