From 13b00f3f8f3ee13e2ddb3f8205bca694a3af37c7 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Sun, 8 Feb 2015 15:10:16 -0800 Subject: [PATCH] forgot to add SphereEntityItem.cpp to last commit --- libraries/entities/src/SphereEntityItem.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libraries/entities/src/SphereEntityItem.cpp b/libraries/entities/src/SphereEntityItem.cpp index 9b3e5f1688..7d5fb83a4e 100644 --- a/libraries/entities/src/SphereEntityItem.cpp +++ b/libraries/entities/src/SphereEntityItem.cpp @@ -94,12 +94,6 @@ void SphereEntityItem::appendSubclassData(OctreePacketData* packetData, EncodeBi APPEND_ENTITY_PROPERTY(PROP_COLOR, appendColor, getColor()); } -void SphereEntityItem::computeShapeInfo(ShapeInfo& info) const { - glm::vec3 halfExtents = 0.5f * getDimensionsInMeters(); - // TODO: support ellipsoid shapes - info.setSphere(halfExtents.x); -} - bool SphereEntityItem::findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction, bool& keepSearching, OctreeElement*& element, float& distance, BoxFace& face, void** intersectedObject, bool precisionPicking) const {