Merge pull request #219 from empirephoenix/master

A very small change that creates two getters in VehicleWheel,,
This commit is contained in:
Kirill Vainer 2015-03-02 09:57:06 -05:00
commit 21ed9ecf63
2 changed files with 37 additions and 0 deletions

View File

@ -420,4 +420,22 @@ public class VehicleWheel implements Savable {
this.applyLocal = applyLocal;
}
/**
* write the content of the wheelWorldRotation into the store
*
* @param store
*/
public void getWheelWorldRotation(final Quaternion store) {
store.set(this.wheelWorldRotation);
}
/**
* write the content of the wheelWorldLocation into the store
*
* @param store
*/
public void getWheelWorldLocation(final Vector3f store) {
store.set(this.wheelWorldLocation);
}
}

View File

@ -399,4 +399,23 @@ public class VehicleWheel implements Savable {
public void setApplyLocal(boolean applyLocal) {
this.applyLocal = applyLocal;
}
/**
* write the content of the wheelWorldRotation into the store
*
* @param store
*/
public void getWheelWorldRotation(final Quaternion store) {
store.set(this.wheelWorldRotation);
}
/**
* write the content of the wheelWorldLocation into the store
*
* @param store
*/
public void getWheelWorldLocation(final Vector3f store) {
store.set(this.wheelWorldLocation);
}
}