Euphoria
mat3.cc File Reference
#include "base/mat3.h"

Go to the source code of this file.

Namespaces

 eu
 

Macros

#define OP(i)   data[i] += rhs.data[i]
 
#define OP(i)   data[i] -= rhs.data[i]
 
#define OP(r, c)    get_component_multiply_sum(vec3f{lhs.get_row(r)}, vec3f{rhs.get_column(c)})
 
#define OP(r)   get_component_multiply_sum(vec3f{lhs.get_row(r)}, rhs)
 

Functions

std::string eu::to_string (const mat3f &m)
 
mat3f eu::operator+ (const mat3f &lhs, const mat3f &rhs)
 
mat3f eu::operator- (const mat3f &lhs, const mat3f &rhs)
 
float eu::get_component_multiply_sum (const vec3f &lhs, const vec3f &rhs)
 
mat3f eu::operator* (const mat3f &lhs, const mat3f &rhs)
 
vec3f eu::operator* (const mat3f &lhs, const vec3f &rhs)
 

Macro Definition Documentation

◆ OP [1/4]

#define OP (   i)    data[i] += rhs.data[i]

◆ OP [2/4]

#define OP (   i)    data[i] -= rhs.data[i]

◆ OP [3/4]

#define OP (   r)    get_component_multiply_sum(vec3f{lhs.get_row(r)}, rhs)

◆ OP [4/4]

#define OP (   r,
 
)     get_component_multiply_sum(vec3f{lhs.get_row(r)}, vec3f{rhs.get_column(c)})