Loading...
Searching...
No Matches
Namespaces | Functions
shading_frame.h File Reference

Shading frame transformations. More...

#include "core/mat.h"
#include "core/vec.h"

Go to the source code of this file.

Namespaces

namespace  bbm
 

Functions

template<typename T >
mat3d< std::decay_t< T > > toGlobalShadingFrame (const vec3d< T > &normal)
 Construct a local shading frame to global frame transformation given a normal direction.
 
template<typename T >
auto toLocalShadingFrame (const vec3d< T > &normal)
 Construct a global to local shading frame transformation.
 

Detailed Description

Shading frame transformations.