Static Public Member Functions | |
| static mixed | GeomFaceNumToSideNum (mixed geom, mixed facenum) |
| static mixed | GeomGetSide (mixed geom, mixed sidenum) |
| returns array of vertices, sidenum is one-based index | |
| static mixed | GeomSideIsQuad (mixed geomside) |
| geomside = geom[one_based_index] | |
| static mixed | GeomSideGetIndexCount (mixed geomside) |
| static mixed | GeomSideGetVertexCount (mixed geomside) |
| static mixed | GeomSideGetNormal (mixed geomside) |
| returns nx,ny,nz | |
| static mixed | GeomSideIsAxisAligned (mixed geomside) |
| checks if a side is parallel to a border of an axis aligned box | |
| static mixed | GeomGetAxisAlignedSides (mixed geom) |
| static mixed | GeomSideCalcDim (mixed geomside) |
| returns w,h | |
| static mixed | GeomSideCalcArea (mixed geomside) |
| returns surface area | |
| static mixed | GeomInvert (mixed geom) |
| changes the vertex order so that culling and normals are inverted | |
| static mixed | MakeSphereMesh (mixed steps_h, mixed steps_v, mixed cx, mixed cy, mixed cz, mixed r, mixed g, mixed b) |
| static mixed | GfxSetCylinderZ (mixed gfx, mixed r, mixed h, mixed steps) |
| creates a SimpleRenderable , a cylinder arount the z axis from 0,0,0 to 0,0,h with radius r | |
| static mixed | GfxSetSphere (mixed gfx, mixed cx, mixed cy, mixed cz, mixed steps_h, mixed steps_v) |
| creates a SimpleRenderable | |
| static mixed | GfxSetGeom (mixed gfx, mixed geom, mixed texcoords, mixed cx, mixed cy, mixed cz, mixed bDynamic) |
| creates a SimpleRenderable | |
Definition at line 5782 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomFaceNumToSideNum | ( | mixed | geom, | |
| mixed | facenum | |||
| ) | [inline, static] |
TODO kGeomQTAdapter : quadratic base to triangle top, one side cut, 1+2 quads, 1+3 tris the facenum returned from gfx:RayPick,... is zero based, but can be used to determine the "side" returns one-based index in geom
Definition at line 5787 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomGetSide | ( | mixed | geom, | |
| mixed | sidenum | |||
| ) | [inline, static] |
returns array of vertices, sidenum is one-based index
Definition at line 5790 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomSideIsQuad | ( | mixed | geomside | ) | [inline, static] |
| static mixed primitive::GeomSideGetIndexCount | ( | mixed | geomside | ) | [inline, static] |
Definition at line 5795 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomSideGetVertexCount | ( | mixed | geomside | ) | [inline, static] |
Definition at line 5797 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomSideGetNormal | ( | mixed | geomside | ) | [inline, static] |
| static mixed primitive::GeomSideIsAxisAligned | ( | mixed | geomside | ) | [inline, static] |
checks if a side is parallel to a border of an axis aligned box
Definition at line 5803 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomGetAxisAlignedSides | ( | mixed | geom | ) | [inline, static] |
Definition at line 5805 of file lua_pseudo_code.cpp.
| static mixed primitive::GeomSideCalcDim | ( | mixed | geomside | ) | [inline, static] |
| static mixed primitive::GeomSideCalcArea | ( | mixed | geomside | ) | [inline, static] |
| static mixed primitive::GeomInvert | ( | mixed | geom | ) | [inline, static] |
changes the vertex order so that culling and normals are inverted
Definition at line 5814 of file lua_pseudo_code.cpp.
| static mixed primitive::MakeSphereMesh | ( | mixed | steps_h, | |
| mixed | steps_v, | |||
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | r, | |||
| mixed | g, | |||
| mixed | b | |||
| ) | [inline, static] |
Definition at line 5816 of file lua_pseudo_code.cpp.
| static mixed primitive::GfxSetCylinderZ | ( | mixed | gfx, | |
| mixed | r, | |||
| mixed | h, | |||
| mixed | steps | |||
| ) | [inline, static] |
creates a SimpleRenderable , a cylinder arount the z axis from 0,0,0 to 0,0,h with radius r
Definition at line 5819 of file lua_pseudo_code.cpp.
| static mixed primitive::GfxSetSphere | ( | mixed | gfx, | |
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | steps_h, | |||
| mixed | steps_v | |||
| ) | [inline, static] |
| static mixed primitive::GfxSetGeom | ( | mixed | gfx, | |
| mixed | geom, | |||
| mixed | texcoords, | |||
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | bDynamic | |||
| ) | [inline, static] |
1.5.6