mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
quiet compiler
This commit is contained in:
parent
0af137af36
commit
a46e8ed14c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ bool LineEntityItem::setLinePoints(const QVector<glm::vec3>& points) {
|
|||
}
|
||||
for (int i = 0; i < points.size(); i++) {
|
||||
glm::vec3 point = points.at(i);
|
||||
glm::vec3 pos = getPosition();
|
||||
// glm::vec3 pos = getPosition();
|
||||
glm::vec3 halfBox = getDimensions() * 0.5f;
|
||||
if ( (point.x < - halfBox.x || point.x > halfBox.x) || (point.y < -halfBox.y || point.y > halfBox.y) || (point.z < - halfBox.z || point.z > halfBox.z) ) {
|
||||
qDebug() << "Point is outside entity's bounding box";
|
||||
|
|
Loading…
Reference in a new issue