|
emlabcpp
modern opinionated embedded C++ library
|
#include "./vec_point_base.h"
Include dependency graph for vector.h:Go to the source code of this file.
Classes | |
| class | emlabcpp::vector< N > |
Namespaces | |
| emlabcpp | |
| MIT License. | |
Functions | |
| template<std::size_t N> | |
| constexpr vector< N > | emlabcpp::operator+ (vector< N > lh, vector< N > const &rh) |
| constexpr vector< 3 > | emlabcpp::cross_product (vector< 3 > const &a, vector< 3 > const &b) |
| Calculates cross product between points A and B. More... | |
| constexpr vector< 2 > | emlabcpp::normal_of (vector< 2 > const &a) |
| Returns a normal to a point A in two dimensions. More... | |
| template<std::size_t N> | |
| constexpr float | emlabcpp::vector_angle (vector< N > const &a, vector< N > const &b) |
Variables | |
| constexpr vector< 3 > | emlabcpp::x_axis { 1, 0, 0 } |
| instances of constants in the code for X/Y/Z axis More... | |
| constexpr vector< 3 > | emlabcpp::y_axis { 0, 1, 0 } |
| constexpr vector< 3 > | emlabcpp::z_axis { 0, 0, 1 } |