mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 23:56:37 +02:00
purge SHAPE_TYPE_LINE
This commit is contained in:
parent
654468619c
commit
5d9e320dd7
3 changed files with 1 additions and 6 deletions
|
@ -60,8 +60,6 @@ class LineEntityItem : public EntityItem {
|
||||||
|
|
||||||
const QVector<glm::vec3>& getLinePoints() const{ return _points; }
|
const QVector<glm::vec3>& getLinePoints() const{ return _points; }
|
||||||
|
|
||||||
virtual ShapeType getShapeType() const { return SHAPE_TYPE_LINE; }
|
|
||||||
|
|
||||||
// never have a ray intersection pick a LineEntityItem.
|
// never have a ray intersection pick a LineEntityItem.
|
||||||
virtual bool supportsDetailedRayIntersection() const { return true; }
|
virtual bool supportsDetailedRayIntersection() const { return true; }
|
||||||
virtual bool findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction,
|
virtual bool findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction,
|
||||||
|
|
|
@ -78,8 +78,6 @@ class PolyLineEntityItem : public EntityItem {
|
||||||
|
|
||||||
virtual bool needsToCallUpdate() const { return true; }
|
virtual bool needsToCallUpdate() const { return true; }
|
||||||
|
|
||||||
virtual ShapeType getShapeType() const { return SHAPE_TYPE_LINE; }
|
|
||||||
|
|
||||||
// never have a ray intersection pick a PolyLineEntityItem.
|
// never have a ray intersection pick a PolyLineEntityItem.
|
||||||
virtual bool supportsDetailedRayIntersection() const { return true; }
|
virtual bool supportsDetailedRayIntersection() const { return true; }
|
||||||
virtual bool findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction,
|
virtual bool findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction,
|
||||||
|
|
|
@ -38,8 +38,7 @@ enum ShapeType {
|
||||||
SHAPE_TYPE_CAPSULE_Z,
|
SHAPE_TYPE_CAPSULE_Z,
|
||||||
SHAPE_TYPE_CYLINDER_X,
|
SHAPE_TYPE_CYLINDER_X,
|
||||||
SHAPE_TYPE_CYLINDER_Y,
|
SHAPE_TYPE_CYLINDER_Y,
|
||||||
SHAPE_TYPE_CYLINDER_Z,
|
SHAPE_TYPE_CYLINDER_Z
|
||||||
SHAPE_TYPE_LINE
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class ShapeInfo {
|
class ShapeInfo {
|
||||||
|
|
Loading…
Reference in a new issue