Project

General

Profile

« Previous | Next » 

Revision e8c81a8e

Added by Leszek Koltunski almost 8 years ago

Cleanup, consistent variable names, minor details.

View differences:

src/main/java/org/distorted/library/DistortedObject.java
415 415

  
416 416
///////////////////////////////////////////////////////////////////////////////////////////////////
417 417
/**
418
 * Abort all Effects of a given type, for example all rotations.
418
 * Abort all Effects of a given name, for example all rotations.
419 419
 * 
420 420
 * @param name one of the constants defined in {@link EffectNames}
421 421
 * @return number of Effects aborted.
......
457 457
// Matrix-based effects
458 458
///////////////////////////////////////////////////////////////////////////////////////////////////
459 459
/**
460
 * Moves the Object by a vector that changes in time as interpolated by the Dynamic.
460
 * Moves the Object by a (possibly changing in time) vector.
461 461
 * 
462 462
 * @param vector 3-dimensional Data which at any given time will return a Static3D
463 463
 *               representing the current coordinates of the vector we want to move the Object with.
......
470 470

  
471 471
///////////////////////////////////////////////////////////////////////////////////////////////////
472 472
/**
473
 * Scales the Object by factors that change in time as returned by the Dynamic.
473
 * Scales the Object by (possibly changing in time) 3D scale factors.
474 474
 * 
475 475
 * @param scale 3-dimensional Dynamic which at any given time returns a Static3D
476 476
 *              representing the current x- , y- and z- scale factors.
......
483 483

  
484 484
///////////////////////////////////////////////////////////////////////////////////////////////////
485 485
/**
486
 * Scales the Object by one uniform factor in all 3 dimensions. Convenience function.
486
 * Scales the Object by one uniform, constant factor in all 3 dimensions. Convenience function.
487 487
 *
488 488
 * @param scale The factor to scale all 3 dimensions with.
489 489
 * @return      ID of the effect added, or -1 if we failed to add one.

Also available in: Unified diff