mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 16:23:17 +02:00
cleanups
This commit is contained in:
parent
86b551c177
commit
40a25f859a
1 changed files with 1 additions and 1 deletions
|
@ -1310,7 +1310,7 @@ bool EntityItem::contains(const glm::vec3& point) const {
|
||||||
if (getShapeType() == SHAPE_TYPE_COMPOUND) {
|
if (getShapeType() == SHAPE_TYPE_COMPOUND) {
|
||||||
bool success;
|
bool success;
|
||||||
bool result = getAABox(success).contains(point);
|
bool result = getAABox(success).contains(point);
|
||||||
return result & success;
|
return result && success;
|
||||||
} else {
|
} else {
|
||||||
ShapeInfo info;
|
ShapeInfo info;
|
||||||
info.setParams(getShapeType(), glm::vec3(0.5f));
|
info.setParams(getShapeType(), glm::vec3(0.5f));
|
||||||
|
|
Loading…
Reference in a new issue