mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 07:02:12 +02:00
commit
1b669af79d
3 changed files with 1 additions and 3 deletions
|
@ -48,7 +48,6 @@ QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* conte
|
|||
|
||||
QScriptValue HMDScriptingInterface::getHUDLookAtPosition3D(QScriptContext* context, QScriptEngine* engine) {
|
||||
glm::vec3 result;
|
||||
HMDScriptingInterface* hmdInterface = &HMDScriptingInterface::getInstance();
|
||||
if ((&HMDScriptingInterface::getInstance())->getHUDLookAtPosition3D(result)) {
|
||||
return qScriptValueFromValue<glm::vec3>(engine, result);
|
||||
}
|
||||
|
|
|
@ -136,10 +136,10 @@ ApplicationOverlay::ApplicationOverlay() :
|
|||
_textureFov(glm::radians(DEFAULT_OCULUS_UI_ANGULAR_SIZE)),
|
||||
_textureAspectRatio(1.0f),
|
||||
_lastMouseMove(0),
|
||||
_magnifier(true),
|
||||
_alpha(1.0f),
|
||||
_oculusUIRadius(1.0f),
|
||||
_crosshairTexture(0),
|
||||
_magnifier(true),
|
||||
_previousBorderWidth(-1),
|
||||
_previousBorderHeight(-1),
|
||||
_previousMagnifierBottomLeft(),
|
||||
|
|
|
@ -76,7 +76,6 @@ void Light::setSpotAngle(float angle) {
|
|||
if (angle <= 0.f) {
|
||||
angle = 0.0f;
|
||||
}
|
||||
float cosAngle = cos(angle);
|
||||
editSchema()._spot.x = cos(angle);
|
||||
editSchema()._spot.y = sin(angle);
|
||||
editSchema()._spot.z = angle;
|
||||
|
|
Loading…
Reference in a new issue