-
Notifications
You must be signed in to change notification settings - Fork 4
Roadmap
Francois Chabot edited this page Sep 3, 2018
·
2 revisions
This page tracks the long-term development objectives of the library.
Vec
/ Mat
/ Angle
/ Quat
are present and interact as expected
Facilities are in place to create commonly used instances, such as perspective/orthographic projections, transformations, etc...
Lazy-evaluated Transform primitives.
using Vec3 = vecpp::Vec<float, 3>;
using Mat4 = vecpp::Mat<float, 4, 4>;
//
auto transform = translate(Vec3{0.0f, 1.0f, 0.0f}) * scale(Vec3{1.0f, 2.0f, 0.0f});
// Transforms can be promoted to affine matrices
Mat4 as_mat = transform;
// Or can be applied directly to vectors
Vec3 transformed = transform * Vec3{1.0f, 1.0f, 1.0f};