Last change
on this file since 79 was
79,
checked in by psniegowski, 11 years ago
|
Simplify f0 class organization.
|
File size:
478 bytes
|
Rev | Line | |
---|
[77] | 1 | package com.framsticks.model; |
---|
| 2 | |
---|
| 3 | import com.framsticks.util.Orientation; |
---|
| 4 | import com.framsticks.util.Point3d; |
---|
| 5 | |
---|
| 6 | /* |
---|
| 7 | */ |
---|
[78] | 8 | public class MechPart extends BasePart { |
---|
[77] | 9 | |
---|
| 10 | /** vol */ |
---|
| 11 | public Double volume = 0.0; |
---|
| 12 | public Double getVol() { return volume; } |
---|
| 13 | public void setVol(Double vol) { volume = vol; } |
---|
| 14 | |
---|
[78] | 15 | /** vx, vy, vz*/ |
---|
| 16 | public double vx, vy, vz; |
---|
[77] | 17 | |
---|
[78] | 18 | public Point3d getVelocity() { return new Point3d(vx, vy, vz); } |
---|
| 19 | public void setVelocity(Point3d v) { vx = v.x; vy = v.y; vz = v.z; } |
---|
[77] | 20 | |
---|
| 21 | |
---|
| 22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.