Package net.rim.device.api.math

Examples of net.rim.device.api.math.Vector3f


                scale = Float.parseFloat(scaleStr);
            }

            // Create the character
            _character =
                    new SpriteGameCharacter(texture, _animator, new Vector3f(
                            -11.0f + pos[0] * 2.0f, -11.0f + pos[1] * 2.0f,
                            0.0f));
            _character._transform.scale(scale);
        }
View Full Code Here


                scale = Float.parseFloat(scaleStr);
            }

            // Create the level goal object
            _levelGoal =
                    new Sprite(texture, new Vector3f(-11.0f + pos[0] * 2.0f,
                            -11.0f + pos[1] * 2.0f, 0.0f));
            _levelGoal._transform.scale(scale);
        }
View Full Code Here

         */
        private Animation parseTranslationAnimation(final Sprite enemy,
                final int keyframes, final float[] keyTimes,
                final long duration, final int curve,
                final Attributes attributes) {
            final Vector3f t = new Vector3f();
            enemy._transform.getTranslation(t);

            // Get the key values
            final String[] strs = parseString(attributes.getValue(VALUES), ';');

View Full Code Here

TOP

Related Classes of net.rim.device.api.math.Vector3f

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.