|
d3d_primitive_begin(kind) |
|
Note: All 3D functions are restricted to registered users only.
kind = A primitive type.
Example
This function is used when you want to draw a custom shape in 3d, by giving your own set of vertices to create one or more polygons. Primitive types can be found here. This function would be put before you start to define the vertices. To add vetices to your primitive, you must use one of the following commands:
d3d_vertex_color(x,y,z,col,alpha) d3d_vertex_normal(x,y,z,nx,ny,nz) d3d_vertex_normal_color(x,y,z,nx,ny,nz,col,alpha)
monkey dude - Revision #1 |