- Timestamp:
- 06/26/13 13:27:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/model/BaseJoint.java
r84 r86 1 1 package com.framsticks.model; 2 2 3 import com.framsticks.params.annotations.ParamAnnotation; 3 4 import com.framsticks.util.math.Point3d; 4 5 … … 8 9 public class BaseJoint { 9 10 10 /** stif */ 11 public Double stiffness; 12 public Double getStif() { return stiffness; } 13 public void setStif(Double stif) { stiffness = stif; } 11 @ParamAnnotation(id = "stif") 12 public double stiffness; 14 13 15 /** rotstif */ 16 public Double rotationStiffness; 17 public Double getRotstif() { return rotationStiffness; } 18 public void setRotstif(Double rotstif) { rotationStiffness = rotstif; } 14 @ParamAnnotation(id = "rotstif") 15 public double rotationStiffness; 19 16 20 /** rx, ry, rz*/17 @ParamAnnotation 21 18 public double rx, ry, rz; 22 19 … … 24 21 public void setRotation(Point3d r) { rx = r.x; ry = r.y; rz = r.z; } 25 22 26 /** dx, dy, dz*/23 @ParamAnnotation 27 24 public double dx, dy, dz; 28 25
Note: See TracChangeset
for help on using the changeset viewer.