Comments to clarify difference between MoverOneShot and MoverRelative.
This commit is contained in:
parent
3e8084c385
commit
a9b53f33e1
2 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
#ifndef id9CDCF10D483641A2845353C0835F93EC
|
#ifndef id9CDCF10D483641A2845353C0835F93EC
|
||||||
#define id9CDCF10D483641A2845353C0835F93EC
|
#define id9CDCF10D483641A2845353C0835F93EC
|
||||||
|
|
||||||
|
//Move a Placeable by issuind an offset.
|
||||||
|
//The offset is applied to the current position of the Placeable you are
|
||||||
|
//moving.
|
||||||
|
//For example issuing 1, then 2 will put your Placeable in position 3,
|
||||||
|
//assuming it started at 0.
|
||||||
|
|
||||||
#include "vector.hpp"
|
#include "vector.hpp"
|
||||||
#include "mover.hpp"
|
#include "mover.hpp"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
#ifndef idBAA1271995604A659EF3FEC4B8FC3870
|
#ifndef idBAA1271995604A659EF3FEC4B8FC3870
|
||||||
#define idBAA1271995604A659EF3FEC4B8FC3870
|
#define idBAA1271995604A659EF3FEC4B8FC3870
|
||||||
|
|
||||||
|
//Move a Placeable by issuing an offset relative to a base position.
|
||||||
|
//Use this if for example your Placeable is following a mathematical formula or
|
||||||
|
//if you're giving a position you want it to be at any specific time.
|
||||||
|
//For example issuing 1, then 2 will put your Placeable in position 2,
|
||||||
|
//assuming it started at 0.
|
||||||
|
|
||||||
#include "mover.hpp"
|
#include "mover.hpp"
|
||||||
|
|
||||||
namespace cloonel {
|
namespace cloonel {
|
||||||
|
|
Loading…
Reference in a new issue