Package com.googlecode.gwtgl.example.client.util.math

Examples of com.googlecode.gwtgl.example.client.util.math.FloatMatrix4x4.transpose()


    webGLWrapper.uniform3f(shaderProgram
        .getUniformLocation("directionalColor"), directionalColorRed,
        directionalColorGreen, directionalColorBlue);

    FloatMatrix4x4 normalMatrix = rotationMatrix.inverse();
    normalMatrix = normalMatrix.transpose();
    webGLWrapper.uniformMatrix4fv(shaderProgram
        .getUniformLocation("normalMatrix"), false, normalMatrix
        .getColumnWiseFlatData());

    checkErrors();
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.