#include <MeshCreator.h>
Inheritance diagram for NSMeshes::TMeshCreator:
Public Member Functions | |
TRendererVertexElementArray * | CreateDeclarationArray (EnumGraphicVertexDeclaration type) const |
This method creates vertex element array according to parameter. | |
TGraphicBuffer * | CreateBox_XYZ_COLOR (float width, float height, float length, TColor color) const |
This method creates simple box with diffuse color. | |
TGraphicBuffer * | CreateBox_XYZ_NXNYNZ_COLOR (float width, float height, float length, TColor color) const |
This method creates simple box with normals and diffuse color. | |
TGraphicBuffer * | CreateBox_XYZ_TUTV (float width, float height, float length) const |
This method creates simple box with texture (without normals). |
This class serve only as mesh creator, not as manager, thus you can create object TModelCreator, then create meshes and destroy creator.
Definition at line 53 of file MeshCreator.h.
|
This method creates simple box with diffuse color. Box is created around [0,0,0]. If any value is negative then absolute value is used. Object is created as list of triangles!!! Triangles are created as CW.
Definition at line 149 of file MeshCreator.cpp. References TColor::GetColor(), and TGraphicBuffer::GetDataAtItem(). Here is the call graph for this function: ![]() |
|
This method creates simple box with normals and diffuse color. Box is created around [0,0,0]. If any value is negative then absolute value is used. Object is created as list of triangles!!! Triangles are created as CW.
Definition at line 354 of file MeshCreator.cpp. References TColor::GetColor(), and TGraphicBuffer::GetDataAtItem(). Here is the call graph for this function: ![]() |
|
This method creates simple box with texture (without normals). Box is created around [0,0,0]. If any value is negative then absolute value is used. Object is created as list of triangles!!! Triangles are created as CW.
Definition at line 670 of file MeshCreator.cpp. References TGraphicBuffer::GetDataAtItem(). Here is the call graph for this function: ![]() |
|