Revision 9621255f
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/objects/Cubit.java | ||
---|---|---|
407 | 407 |
return mRotateEffect.getID(); |
408 | 408 |
} |
409 | 409 |
|
410 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
411 |
|
|
412 |
float getDistSquared(float[] point) |
|
413 |
{ |
|
414 |
float dx = mCurrentPosition.get0() - point[0]; |
|
415 |
float dy = mCurrentPosition.get1() - point[1]; |
|
416 |
float dz = mCurrentPosition.get2() - point[2]; |
|
417 |
|
|
418 |
return dx*dx + dy*dy + dz*dz; |
|
419 |
} |
|
420 |
|
|
410 | 421 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
411 | 422 |
|
412 | 423 |
MeshBase getMesh() |
Also available in: Unified diff
Progress with the 3x3x3 Solver.