Changeset 3192 for code/branches/pch/src/orxonox/objects/collisionshapes
- Timestamp:
- Jun 18, 2009, 10:00:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/collisionshapes/CollisionShape.cc
r3176 r3192 126 126 bool CollisionShape::hasTransform() const 127 127 { 128 return (!this->position_.positionEquals(Vector3(0, 0, 0), 0.001 ) ||129 !this->orientation_.equals(Quaternion(1,0,0,0), Degree(0.1 )));128 return (!this->position_.positionEquals(Vector3(0, 0, 0), 0.001f) || 129 !this->orientation_.equals(Quaternion(1,0,0,0), Degree(0.1f))); 130 130 } 131 131
Note: See TracChangeset
for help on using the changeset viewer.