Minor Update - Fix Warning + Add texture in the object inspector

Feat :

+ Show the texture of the object in the Object Window

Fix :

- No warning for now...
This commit is contained in:
2024-04-09 13:02:33 +02:00
parent 01acf46db8
commit ca82f37127
8 changed files with 102 additions and 78 deletions

View File

@@ -68,8 +68,8 @@ public:
void AddCube();
void DeleteKobject(int index);
int GetCubeCount() const { return m_cubes.size(); };
int GetTerrainCubeCount() const { return m_terrainChunk.size(); };
size_t GetCubeCount() const { return m_cubes.size(); };
size_t GetTerrainCubeCount() const { return m_terrainChunk.size(); };
std::vector<Object*> GetCubes() const { return m_cubes; };
std::vector<Object*> GetTerrainCubes() const { return m_terrainChunk; };
std::vector<Object*> GetKobjects() const { return m_object; };
@@ -113,7 +113,7 @@ private :
XMMATRIX m_baseViewMatrix;
RenderTextureClass* m_RenderTexture;
DisplayPlaneClass* m_DisplayPlane;
float m_screenWidth, m_screenHeight;
int m_screenWidth, m_screenHeight;
CameraClass* m_Camera;
PositionClass* m_Position;
FrustumClass* m_Frustum;