Evaluating functions within Vec3D methods...
Hi there, I'm not sure if this is the right place to bring up issues, but I'm having a bit of a weird one.
The problem is best described as:
Vec3D v = new Vec3D(100, 100, 100); float scaler = 1/10; v = v.scale(scaler);
Printing v in this case will return 0, 0, -0
as if scaler is void.
However, if I instead do:
Vec3D v = new Vec3D(100, 100, 100); float scaler = 0.1; v = v.scale(scaler);
then printing v will return 10, 10, 10.
It's as if the .scaler method does not want to evaluate functions / equations and treats them as void.
Not sure if this is user error at this end, if so then please ignore me! I'm using Processing 1.2.1 and toxiclibs 0019a and 0018.