What I
did last week: |
Survived
Grad. Trimmed, reorganized, compiled and re-checked in
Gail's Stuff. Introduced a new Class VRGestureRecognizer
that is used by the VRSplineActor. There are no more
Calculator Classes, instead I introduced a spline class
that holds the datapoints and knows how to compute basic
stuff such as the length between the last two points or
the angle between the vectors described by the last three
points. Those values are computed as soon as they are
defineable and this concept is easily extendable for
functions being defined by n datapoints. The evaluated
values can then be polled by the individual Features.
This follows a plug and pray approach, where I assume,
that all Features work on the whole spline anyway. So I
only have one loop that iterates the spline and calls
each of the Features for each iteration. The
initialisation of the Gestures was shortened but still
has to be automated further. |