Examples of ImmutableMatrix4d


Examples of de.ailis.gramath.ImmutableMatrix4d

    @Test
    public void testMatrix()
    {
        final MatrixTransform transform = new MatrixTransform();
        assertTrue(transform.getMatrix().isIdentity());
        final ImmutableMatrix4d translation = new ImmutableMatrix4d(0, 1, 2, 3,
            4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
        transform.setMatrix(translation);
        assertEquals(translation, new ImmutableMatrix4d(transform.getMatrix()));
    }
View Full Code Here

Examples of de.ailis.gramath.ImmutableMatrix4d

     */

    @Override
    public Matrix4d asMatrix()
    {
        return new ImmutableMatrix4d(this.matrix);
    }
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.