Changeset 105 for java/main/src/main/java/com/framsticks/model/Part.java
- Timestamp:
- 09/10/13 21:11:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/model/Part.java
r90 r105 12 12 public class Part extends BasePart implements ModelComponent { 13 13 14 @ParamAnnotation 15 public double r x, ry, rz;14 @ParamAnnotation(id = "rx") 15 public double rotationX; 16 16 17 @ParamAnnotation(id = "ry") 18 public double rotationY; 17 19 18 public Point3d getRotation() { return new Point3d(rx, ry, rz); } 19 public void setRotation(Point3d r) { rx = r.x; ry = r.y; rz = r.z; } 20 @ParamAnnotation(id = "rz") 21 public double rotationZ; 22 23 public Point3d getRotation() { return new Point3d(rotationX, rotationY, rotationZ); } 24 public void setRotation(Point3d r) { rotationX = r.x; rotationY = r.y; rotationZ = r.z; } 20 25 21 26 @ParamAnnotation(id = "dn")
Note: See TracChangeset
for help on using the changeset viewer.