HighMap library (C++)
Loading...
Searching...
No Matches
algebra.hpp File Reference

Header file defining basic vector and matrix manipulation classes. More...

Go to the source code of this file.

Classes

struct  hmap::Vec2< T >
 Vec2 class for basic manipulation of 2D vectors. More...
 
struct  hmap::Vec3< T >
 Vec3 class for basic manipulation of 3D vectors. More...
 
struct  hmap::Vec4< T >
 Vec4 class for basic manipulation of 4D vectors. More...
 
struct  hmap::Mat< T >
 Mat class for basic manipulation of 2D matrices. More...
 

Namespaces

namespace  hmap
 

Functions

template<typename T >
Vec3< T > hmap::normalized_vec3 (T x, T y, T z)
 Constructs a normalized 3D vector.
 

Detailed Description

Header file defining basic vector and matrix manipulation classes.

Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)

This header file provides basic implementations for 2D, 3D, and 4D vector classes (Vec2, Vec3, Vec4) and a simple matrix class (Mat). These classes offer fundamental operations such as addition, subtraction, multiplication, division, dot products, and basic matrix manipulation capabilities.

Version
0.1
Date
2023-08-01