Showing the changes to interface/src/Util.cpp (1 of 48 files). Show all
Unified · Split
| @@ -142,11 +142,6 @@ void renderWorldBox(gpu::Batch& batch) { · 141 unmodified lines | ||
| 142 | 142 | geometryCache->renderSolidSphereInstance(batch, GREY); |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | −// Return a random vector of average length 1 | |
| 146 | −const glm::vec3 randVector() { | |
| 147 | − return glm::vec3(randFloat() - 0.5f, randFloat() - 0.5f, randFloat() - 0.5f) * 2.0f; | |
| 148 | −} | |
| 149 | − | |
| 150 | 145 | // Do some basic timing tests and report the results |
| 151 | 146 | void runTimingTests() { |
| 152 | 147 | // How long does it take to make a call to get the time? |