mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:19:05 +02:00
CR feedback
This commit is contained in:
parent
ed4279783d
commit
2c28316e39
1 changed files with 0 additions and 3 deletions
|
@ -437,9 +437,6 @@ void HmdDisplayPlugin::updateFrameData() {
|
||||||
vec3 castStart = _presentExtraLaserStart;
|
vec3 castStart = _presentExtraLaserStart;
|
||||||
vec3 castDirection = laserDirection;
|
vec3 castDirection = laserDirection;
|
||||||
|
|
||||||
// FIXME fetch the actual UI radius from... somewhere?
|
|
||||||
float uiRadius = 1.0f;
|
|
||||||
|
|
||||||
// Find the intersection of the laser with he UI and use it to scale the model matrix
|
// Find the intersection of the laser with he UI and use it to scale the model matrix
|
||||||
float distance;
|
float distance;
|
||||||
if (glm::intersectRaySphere(castStart, castDirection,
|
if (glm::intersectRaySphere(castStart, castDirection,
|
||||||
|
|
Loading…
Reference in a new issue