mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:52:31 +02:00
c++
This commit is contained in:
parent
4e679c7e3a
commit
500bb13cbb
1 changed files with 1 additions and 4 deletions
|
@ -28,10 +28,7 @@ void RenderableLineEntityItem::render(RenderArgs* args) {
|
||||||
glm::vec3 position = getPosition();
|
glm::vec3 position = getPosition();
|
||||||
glm::vec3 dimensions = getDimensions();
|
glm::vec3 dimensions = getDimensions();
|
||||||
glm::quat rotation = getRotation();
|
glm::quat rotation = getRotation();
|
||||||
|
glm::vec4 lineColor(toGlm(getXColor()), getLocalRenderAlpha());
|
||||||
const float MAX_COLOR = 255.0f;
|
|
||||||
|
|
||||||
glm::vec4 lineColor(toGlm(getColor()), getLocalRenderAlpha());
|
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
glTranslatef(position.x, position.y, position.z);
|
glTranslatef(position.x, position.y, position.z);
|
||||||
glm::vec3 axis = glm::axis(rotation);
|
glm::vec3 axis = glm::axis(rotation);
|
||||||
|
|
Loading…
Reference in a new issue