Kaydet (Commit) 15288204 authored tarafından weigao's avatar weigao Kaydeden (comit) Markus Mohrhard

modify the coordinate system to world coordinate system

Change-Id: Ib496f33bcd94cac77aef02ddae2c91bb48150252
üst ec4169a5
......@@ -141,6 +141,16 @@ struct TextInfo
float vertex[12];
};
typedef struct SceneBox{
float maxXCoord;
float minXCoord;
float maxYCoord;
float minYCoord;
float maxZCoord;
float minZCoord;
}SceneBox;
class OpenGL3DRenderer
{
public:
......@@ -204,7 +214,6 @@ private:
int GenerateRoundCornerBar(std::vector<glm::vec3> &vertices, std::vector<glm::vec3> &normals, float fRadius, int iSubDivY,
int iSubDivZ, float width, float height, float depth);
void CreateSceneBoxView();
void CreateBMPHeader(sal_uInt8 *bmpHeader, int xsize, int ysize);
void RenderTexture(GLuint TexID);
private:
......@@ -351,6 +360,7 @@ private:
float m_fHeightWeight;
bool mbPickingMode;
SceneBox m_SenceBox;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment