SVL 1.5 review
DownloadSVL library provides vector and matrix classes, as well as a number of functions for performing vector arithmetic with them
|
|
SVL library provides vector and matrix classes, as well as a number of functions for performing vector arithmetic with them. Equation-like syntax is supported via class operators, for example:
#include "svl/SVL.h"
Vec3 v(1.0, 2.0, 3.0);
Mat3 m(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
v = 2 * v + m * v;
v *= (m / 3.0) * norm(v);
cout
SVL 1.5 search tags