mal-math
C++20 mathematics library.
All Classes Namespaces Files Functions Variables Typedefs Concepts
vec3.hpp File Reference

Header file for the 3D vector definition. More...

#include "vec.hpp"
#include "vec3.inl"
Include dependency graph for vec3.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mal_math::vec< 3, T >
 Represents a 3D vector of a given primitive type. More...
 

Namespaces

namespace  mal_math
 Contains mathematical utility functions and classes.
 

Functions

template<Primitive T, Primitive U>
constexpr vec< 3, T > mal_math::cross (vec< 3, T > const &left, vec< 3, U > const &right)
 Computes the cross product of two 3D vectors.
 

Detailed Description

Header file for the 3D vector definition.

Author
malatindez (Vladyslav Ohlii)
Date
12/09/2023

Definition in file vec3.hpp.