Package com.monkygames.wo.avatar

Source Code of com.monkygames.wo.avatar.ModelPosition

/*
* See COPYING in top-level directory.
*/
package com.monkygames.wo.avatar;

// === jme imports === //
import com.jme3.math.Vector3f;

/**
* Contains the position of a 3d object including translation and rotation information.
* @version 1.0
*/
public class ModelPosition{

    /**
     * The location information.
     **/
    public Vector3f location;
    /**
     * The rotation information.
     **/
    public Vector3f rotation;

// ============= Constructors ============== //
// ============= Public Methods ============== //
    public ModelPosition(){
  this(0,0,0, 0,0,0);
    }
    public ModelPosition(float x, float y, float z,
       float rotx, float roty, float rotz){
  location = new Vector3f(x,y,z);
  rotation = new Vector3f(rotx,roty,rotz);
    }
// ============= Protected Methods ============== //
// ============= Private Methods ============== //
// ============= Implemented Methods ============== //
// ============= Extended Methods ============== //
// ============= Internal Classes ============== //
// ============= Static Methods ============== //

}
/*
* Local variables:
*  c-indent-level: 4
*  c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 noexpandtab
*/ 
TOP

Related Classes of com.monkygames.wo.avatar.ModelPosition

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.