Static Public Member Functions | |
| static mixed | GetBoxSideCoords (mixed sidenum, mixed cx, mixed cy, mixed cz, mixed tx, mixed ty, mixed tz) |
| returns x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4 | |
| static mixed | GetBoxSideNormal (mixed sidenum) |
| returns nx,ny,nz | |
| static mixed | DrawBoxSide (mixed sidenum, mixed gfx, mixed cx, mixed cy, mixed cz, mixed vc, mixed texcoords, mixed tx, mixed ty, mixed tz) |
| static mixed | GfxSetBox (mixed gfx, mixed cx, mixed cy, mixed cz, mixed sides, mixed texcoords, mixed tx, mixed ty, mixed tz) |
| static mixed | RayPickAABoxSide (mixed sidenum, mixed x, mixed y, mixed z, mixed cx, mixed cy, mixed cz, mixed rx, mixed ry, mixed rz, mixed rvx, mixed rvy, mixed rvz) |
| 0,0,0 is top,left,front corner | |
| static mixed | RayPickAABox (mixed x, mixed y, mixed z, mixed cx, mixed cy, mixed cz, mixed rx, mixed ry, mixed rz, mixed rvx, mixed rvy, mixed rvz) |
Definition at line 5947 of file lua_pseudo_code.cpp.
| static mixed box::GetBoxSideCoords | ( | mixed | sidenum, | |
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | tx, | |||
| mixed | ty, | |||
| mixed | tz | |||
| ) | [inline, static] |
| static mixed box::GetBoxSideNormal | ( | mixed | sidenum | ) | [inline, static] |
| static mixed box::DrawBoxSide | ( | mixed | sidenum, | |
| mixed | gfx, | |||
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | vc, | |||
| mixed | texcoords, | |||
| mixed | tx, | |||
| mixed | ty, | |||
| mixed | tz | |||
| ) | [inline, static] |
Definition at line 5955 of file lua_pseudo_code.cpp.
| static mixed box::GfxSetBox | ( | mixed | gfx, | |
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | sides, | |||
| mixed | texcoords, | |||
| mixed | tx, | |||
| mixed | ty, | |||
| mixed | tz | |||
| ) | [inline, static] |
sides is an array containing sidenumbers to be drawn, defaults to all param sides defaults to {0,1,2,3,4,5} = all sides param texcoords defaults to { {0,0, 0,1, 1,0, 1,1} repeated 6 times } param texcoords is one based translates the box along tx,ty,tz
Definition at line 5962 of file lua_pseudo_code.cpp.
| static mixed box::RayPickAABoxSide | ( | mixed | sidenum, | |
| mixed | x, | |||
| mixed | y, | |||
| mixed | z, | |||
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | rx, | |||
| mixed | ry, | |||
| mixed | rz, | |||
| mixed | rvx, | |||
| mixed | rvy, | |||
| mixed | rvz | |||
| ) | [inline, static] |
| static mixed box::RayPickAABox | ( | mixed | x, | |
| mixed | y, | |||
| mixed | z, | |||
| mixed | cx, | |||
| mixed | cy, | |||
| mixed | cz, | |||
| mixed | rx, | |||
| mixed | ry, | |||
| mixed | rz, | |||
| mixed | rvx, | |||
| mixed | rvy, | |||
| mixed | rvz | |||
| ) | [inline, static] |
0,0,0 is top,left,front corner returns minside,dist , nil if not hit
Definition at line 5969 of file lua_pseudo_code.cpp.
1.5.6