[cgkit-user] Polyhedron
Brought to you by:
mbaas
|
From: Greg F. <gre...@gm...> - 2010-11-03 04:54:40
|
Hi All,
Are there any examples out there for how Polyhedron and/or PolyhedronGeom
class works? I'm having trouble creating a simple tetrahedron with:
Polyhedron(verts = [vec3(0,0,1),
vec3(0.94,0,0.33),
vec3(-0.47,0.82,-0.33),
vec3(-0.47,-0.82,-0.33),
])
Nothing displays in the viewer with this code and I'm not sure what to do
with the 'poly' constructor argment.
Cheers,
Greg
|