codex
Loading...
Searching...
No Matches
rotate.hpp File Reference
#include <cmath>
Include dependency graph for rotate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  codex::vec2
 
struct  codex::vec3
 

Namespaces

namespace  codex
 
namespace  codex::detail
 

Functions

vec2 codex::rotate (const vec2 &v, float a)
 
vec3 codex::operator* (const vec3 &v, float s)
 
vec3 codex::operator* (float s, const vec3 &v)
 
vec3 codex::operator+ (const vec3 &v0, const vec3 &v1)
 
vec3 codex::operator- (const vec3 &v0, const vec3 &v1)
 
vec3 codex::rotate (const vec3 &v, float sin, float cos, const vec3 &n)
 Rotates v around an arbitrary axis .
 
vec3 codex::rotate_y (const vec3 &v, float sin, float cos)
 Rotates v around the y axis.
 
vec3 codex::f (const vec3 &v)
 
vec3 codex::g (const vec3 &v)
 
float codex::detail::dot (const vec3 &v0, const vec3 &v1)
 
vec3 codex::detail::cross (const vec3 &v0, const vec3 &v1)
 
vec2 codex::rotate (const vec2 &v, float sin, float cos)