public void transform(javax.vecmath.Matrix4d trans, ReferenceFrame asSeenBy) { if (asSeenBy == null) { asSeenBy = this; } Matrix44 m = getTransformation(asSeenBy); m.transform(trans); setTransformation(m, asSeenBy); }
public void rotate(javax.vecmath.Vector3d axis, double amount, ReferenceFrame asSeenBy) { if (asSeenBy == null) { asSeenBy = this; } Matrix44 m = getTransformation(asSeenBy); m.rotate(axis, amount); setTransformation(m, asSeenBy); }
public void scale(javax.vecmath.Vector3d axis, ReferenceFrame asSeenBy) { if (asSeenBy == null) { asSeenBy = this; } Matrix44 m = getTransformation(asSeenBy); m.scale(axis); setTransformation(m, asSeenBy); }
public void translate(javax.vecmath.Vector3d vector, ReferenceFrame asSeenBy) { if (asSeenBy == null) { asSeenBy = this; } Matrix44 m = getTransformation(asSeenBy); m.translate(vector); setTransformation(m, asSeenBy); }