예제 #1
0
 /**
  * Creates particle at the position of the passed in vector
  *
  * @param v position
  */
 public VerletParticle3D(ReadonlyVec3D v) {
   this(v.x(), v.y(), v.z(), 1);
 }
예제 #2
0
 /**
  * Creates particle with weight w at the position of the passed in vector
  *
  * @param v position
  * @param w weight
  */
 public VerletParticle3D(ReadonlyVec3D v, float w) {
   this(v.x(), v.y(), v.z(), w);
 }