codex
Loading...
Searching...
No Matches
rotate.cpp File Reference
#include "rotate.hpp"
#include <numbers>
Include dependency graph for rotate.cpp:

Namespaces

namespace  anonymous_namespace{rotate.cpp}
 
namespace  codex
 

Functions

vec3 codex::f (const vec3 &v)
 
vec3 codex::g (const vec3 &v)
 

Variables

constexpr auto anonymous_namespace{rotate.cpp}::a = 45.0f / 180.0f * std::numbers::pi_v<float>
 
constexpr auto anonymous_namespace{rotate.cpp}::sin_a = std::numbers::sqrt2_v<float> / 2.0f
 
constexpr auto anonymous_namespace{rotate.cpp}::cos_a = sin_a
 
constexpr codex::vec3 anonymous_namespace{rotate.cpp}::y = {0, 1, 0}