mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +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 dimensions = getDimensions();
|
||||
glm::quat rotation = getRotation();
|
||||
|
||||
const float MAX_COLOR = 255.0f;
|
||||
|
||||
glm::vec4 lineColor(toGlm(getColor()), getLocalRenderAlpha());
|
||||
glm::vec4 lineColor(toGlm(getXColor()), getLocalRenderAlpha());
|
||||
glPushMatrix();
|
||||
glTranslatef(position.x, position.y, position.z);
|
||||
glm::vec3 axis = glm::axis(rotation);
|
||||
|
|
Loading…
Reference in a new issue