History

Exposed DebugDraw interface to Java Script

Anthony J. Thibault committed 9 years ago

Commit 01abb4b1 parent 0d0c26e6 files · +80 −14Browse files

Showing the changes to libraries/shared/src/DebugDraw.cpp (1 of 6 files). Show all

Unified · Split

libraries/shared/src/DebugDraw.cpp+4−4
@@ -28,19 +28,19 @@ void DebugDraw::drawRay(const glm::vec3& start, const glm::vec3& end, const glm: · 27 unmodified lines
2828 _rays.push_back(Ray(start, end, color));
2929 }
3030
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) {
3232 _markers[key] = MarkerInfo(rotation, position, color);
3333 }
3434
35−void DebugDraw::removeMarker(const std::string& key) {
35+void DebugDraw::removeMarker(const QString& key) {
3636 _markers.erase(key);
3737 }
3838
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) {
4040 _myAvatarMarkers[key] = MarkerInfo(rotation, position, color);
4141 }
4242
43−void DebugDraw::removeMyAvatarMarker(const std::string& key) {
43+void DebugDraw::removeMyAvatarMarker(const QString& key) {
4444 _myAvatarMarkers.erase(key);
4545 }
4646

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t