Swig: Add properties to Vec2 and Vec4.
tinyspline::Vec3,
binormal,
binormal);
+%attribute(tinyspline::Vec2,
+ tinyspline::real,
+ x,
+ x,
+ setX);
+%attribute(tinyspline::Vec2,
+ tinyspline::real,
+ y,
+ y,
+ setY);
%attribute(tinyspline::Vec3,
tinyspline::real,
x,
z,
z,
setZ);
+%attribute(tinyspline::Vec4,
+ tinyspline::real,
+ x,
+ x,
+ setX);
+%attribute(tinyspline::Vec4,
+ tinyspline::real,
+ y,
+ y,
+ setY);
+%attribute(tinyspline::Vec4,
+ tinyspline::real,
+ z,
+ z,
+ setZ);
+%attribute(tinyspline::Vec4,
+ tinyspline::real,
+ w,
+ w,
+ setW);
#endif
// Make strings directly accessible in target language.
