21 #ifndef VSR_DRAW_H_INCLUDED
22 #define VSR_DRAW_H_INCLUDED
24 #include "gfx/gfx_glyphs.h"
25 #include "gfx/gfx_render.h"
26 #include "draw/vsr_draw.h"
30 #include "form/vsr_field.h"
37 void TriNormal(
const T& a,
const T& b,
const T& c,
bool cc =
false ){
38 gfx::GL::normal(
cga::Round::dir( a^ ( !cc ? ( b^c ) : (c^b) ) ).
template copy<cga::Biv>().duale().unit() );
93 template<>
void Renderable<cga::Vec>::DrawImmediate (
const cga::Vec& s);
95 template<>
void Renderable<cga::Biv>::DrawImmediate (
const cga::Biv& s);
96 template<>
void Renderable<cga::Drv>::DrawImmediate (
const cga::Drv& s);
97 template<>
void Renderable<cga::Dlp>::DrawImmediate (
const cga::Dlp& s);
98 template<>
void Renderable<cga::Pln>::DrawImmediate (
const cga::Pln& s);
99 template<>
void Renderable<cga::Cir>::DrawImmediate (
const cga::Cir& s );
100 template<>
void Renderable<cga::Pnt>::DrawImmediate (
const cga::Pnt& s);
101 template<>
void Renderable<cga::Sph>::DrawImmediate (
const cga::Sph& s);
102 template<>
void Renderable<cga::Flp>::DrawImmediate (
const cga::Flp& s);
103 template<>
void Renderable<cga::Par>::DrawImmediate (
const cga::Par& s);
104 template<>
void Renderable<cga::Dll>::DrawImmediate (
const cga::Dll& s);
105 template<>
void Renderable<cga::Lin>::DrawImmediate (
const cga::Lin& s);
106 template<>
void Renderable<cga::Tnv>::DrawImmediate (
const cga::Tnv& t);
107 template<>
void Renderable<cga::Frame>::DrawImmediate (
const cga::Frame& f);
111 template<>
void Renderable<Field<cga::Vec>>::DrawImmediate(
const Field<cga::Vec>& f);
113 template<>
void Renderable<Field<cga::Sca>>::DrawImmediate(
const Field<cga::Sca>& f);
114 template<>
void Renderable<Field<cga::Tnv>>::DrawImmediate(
const Field<cga::Tnv>& f);
115 template<>
void Renderable<Field<cga::Frame>>::DrawImmediate(
const Field<cga::Frame>& f);
Common Operations Specific to CGA3D.
Definition: vsr_cga2D_draw.h:13
Generic Geometric Number Types (templated on an algebra and a basis )
Definition: vsr_algebra.h:69
A Basic 3D Field (slowly porting this over from the now defunct vsr_lattice class) Use to Evaluate Ne...
Definition: vsr_field.h:67
static auto dir(const A &s) -> decltype(direction(s))
Direction of Round Element (shorthand)
Definition: vsr_cga3D_round.h:301
the versor library namespace
Definition: vsr_algebra.h:29
Orthonormal Frame composed from a Position and Orientation.
Definition: vsr_cga3D_frame.h:47
NTri< 5 > Tri
Trivector
Definition: vsr_cga3D_types.h:65