work-in-progress tinyrenderer -> shared memory API synthetic camera image
This commit is contained in:
@@ -17,6 +17,9 @@ struct TinyRenderObjectData
|
||||
Matrix m_projectionMatrix;
|
||||
Matrix m_viewportMatrix;
|
||||
|
||||
btVector3 m_eye;
|
||||
btVector3 m_center;
|
||||
|
||||
//Model (vertices, indices, textures, shader)
|
||||
Matrix m_modelMatrix;
|
||||
class Model* m_model;
|
||||
@@ -33,7 +36,8 @@ struct TinyRenderObjectData
|
||||
|
||||
void loadModel(const char* fileName);
|
||||
void createCube(float HalfExtentsX,float HalfExtentsY,float HalfExtentsZ);
|
||||
void registerMeshShape(const float* vertices, int numVertices,const int* indices, int numIndices);
|
||||
void registerMeshShape(const float* vertices, int numVertices,const int* indices, int numIndices,
|
||||
unsigned char* textureImage=0, int textureWidth=0, int textureHeight=0);
|
||||
|
||||
void registerMesh2(btAlignedObjectArray<btVector3>& vertices, btAlignedObjectArray<btVector3>& normals,btAlignedObjectArray<int>& indices);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user