19 #include "gfx/gfx_render.h"
22 #include "form/vsr_field.h"
38 void Draw(
const A& s,
float r = 1,
float g = 1,
float b = 1,
float a = 1){
39 render::begin(r,g,b,a);
44 template<
class A,
class B>
45 void DrawAt(
const A& s,
const B& p,
float r = 1,
float g = 1,
float b = 1,
float a = 1){
46 render::begin(r,g,b,a);
65 struct Renderable<
vsr::
Field<T>> : RenderableBase< vsr::Field<T> > {
68 for (
int i = 0; i < f.num(); ++i){
70 Renderable<T>::DrawImmediate( f[i] );
Definition: vsr_cga2D_draw.h:13
A Basic 3D Field (slowly porting this over from the now defunct vsr_lattice class) Use to Evaluate Ne...
Definition: vsr_field.h:67
the versor library namespace
Definition: vsr_algebra.h:29
generic multivector class, templated on a geometric algebra and a field