Examples of AxisAngle4d


Examples of javax.vecmath.AxisAngle4d

            axisY = ((DoubleToken) axisToken.getElement(1)).doubleValue();
            axisZ = ((DoubleToken) axisToken.getElement(2)).doubleValue();
            angle = (angleToken).doubleValue();

            Quat4d quaternion = new Quat4d();
            quaternion.set(new AxisAngle4d(axisX, axisY, axisZ, angle));

            Vector3d vector = new Vector3d(xPosition, yPosition, zPosition);
            Transform3D t = new Transform3D(quaternion, vector, 1.0);
            TransformGroup group = _simpleUniverse.getViewingPlatform()
                    .getViewPlatformTransform();
View Full Code Here

Examples of javax.vecmath.AxisAngle4d

        axisY = ((DoubleToken) _axis.getElement(1)).doubleValue();
        axisZ = ((DoubleToken) _axis.getElement(2)).doubleValue();
        angle = (_angle).doubleValue();

        Quat4d quaternion = new Quat4d();
        quaternion.set(new AxisAngle4d(axisX, axisY, axisZ, angle));

        Vector3d vector = new Vector3d(xPosition, yPosition, zPosition);
        Transform3D t = new Transform3D(quaternion, vector, 1.0);
        TransformGroup group = _simpleUniverse.getViewingPlatform()
                .getViewPlatformTransform();
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.