1 #ifndef VSR_EGA3D_DRAW_H_INCLUDED
2 #define VSR_EGA3D_DRAW_H_INCLUDED
5 #include "gfx/gfx_glyphs.h"
6 #include "space/vsr_ega3D_types.h"
15 void Draw(
const A& s,
float r = 1,
float g = 1,
float b = 1,
float a = 1){
23 ega::Rot AA(
const ega::Vec& s){
29 ega::Rot AA(
const ega::Biv& s){
33 void Immediate (
const ega::Vec& s){
36 gfx::GL::translate( s.begin() );
37 gfx::GL::rotate( AA(s).begin() );
42 void Immediate (
const ega::Biv& s){
48 gfx::GL::rotate( AA(s).begin() );
49 Glyph::DirCircle( ta, sn );
static auto ratio(const GAVec< A > &a, const GAVec< A > &b) -> decltype((a *b))
Generate general rotation as exponential of anonymous Implemented from "Square Root and Logarithm of ...
Definition: vsr_generic_op.h:504
Definition: vsr_cga2D_draw.h:13
static auto aa(const GARot< A > &r) -> GARot< A >
Axis Angle from Rotor (WARNING NOT GENERIC)
Definition: vsr_generic_op.h:348
the versor library namespace
Definition: vsr_algebra.h:29
Lin Line
Direct Line Trivector \(p_a \wedge p_b \wedge n_\infty\)
Definition: vsr_cga3D_types.h:140
static constexpr bool sn(const A &a, const A &b)
Sign of A with Respect to B (short hand)
Definition: vsr_generic_op.h:159