Showing the changes to libraries/shared/src/DebugDraw.cpp (1 of 6 files). Show all
Unified · Split
| @@ -28,19 +28,19 @@ void DebugDraw::drawRay(const glm::vec3& start, const glm::vec3& end, const glm: · 27 unmodified lines | ||
| 28 | 28 | _rays.push_back(Ray(start, end, color)); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | −void DebugDraw::addMarker(const std::string& key, const glm::quat& rotation, const glm::vec3& position, const glm::vec4& color) { | |
| 31 | +void DebugDraw::addMarker(const QString& key, const glm::quat& rotation, const glm::vec3& position, const glm::vec4& color) { | |
| 32 | 32 | _markers[key] = MarkerInfo(rotation, position, color); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | −void DebugDraw::removeMarker(const std::string& key) { | |
| 35 | +void DebugDraw::removeMarker(const QString& key) { | |
| 36 | 36 | _markers.erase(key); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | −void DebugDraw::addMyAvatarMarker(const std::string& key, const glm::quat& rotation, const glm::vec3& position, const glm::vec4& color) { | |
| 39 | +void DebugDraw::addMyAvatarMarker(const QString& key, const glm::quat& rotation, const glm::vec3& position, const glm::vec4& color) { | |
| 40 | 40 | _myAvatarMarkers[key] = MarkerInfo(rotation, position, color); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | −void DebugDraw::removeMyAvatarMarker(const std::string& key) { | |
| 43 | +void DebugDraw::removeMyAvatarMarker(const QString& key) { | |
| 44 | 44 | _myAvatarMarkers.erase(key); |
| 45 | 45 | } |
| 46 | 46 | |