mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 15:47:02 +02:00
Laser pointer fixes
This commit is contained in:
parent
fdd8cb290c
commit
50879fa813
2 changed files with 5 additions and 3 deletions
|
@ -23,6 +23,8 @@ ParabolaPick::ParabolaPick(const glm::vec3& position, const glm::vec3& direction
|
||||||
_speed(speed) {
|
_speed(speed) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//V8TODO: needs to be fixed due to 3D overlay support removal
|
||||||
|
|
||||||
PickParabola ParabolaPick::getMathematicalPick() const {
|
PickParabola ParabolaPick::getMathematicalPick() const {
|
||||||
if (!parentTransform) {
|
if (!parentTransform) {
|
||||||
PickParabola mathPick = _mathPick;
|
PickParabola mathPick = _mathPick;
|
||||||
|
|
|
@ -29,7 +29,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
solid: true,
|
solid: true,
|
||||||
glow: true,
|
glow: true,
|
||||||
billboardMode: "yaw",
|
faceCamera: true,
|
||||||
ignorePickIntersection: true, // always ignore this
|
ignorePickIntersection: true, // always ignore this
|
||||||
//V8TODO
|
//V8TODO
|
||||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||||
|
@ -53,7 +53,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
solid: true,
|
solid: true,
|
||||||
glow: true,
|
glow: true,
|
||||||
billboardMode: "yaw",
|
faceCamera: true,
|
||||||
ignorePickIntersection: true, // always ignore this
|
ignorePickIntersection: true, // always ignore this
|
||||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||||
drawHUDLayer: hudLayer,
|
drawHUDLayer: hudLayer,
|
||||||
|
@ -76,7 +76,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
solid: true,
|
solid: true,
|
||||||
glow: true,
|
glow: true,
|
||||||
billboardMode: "yaw",
|
faceCamera: true,
|
||||||
ignorePickIntersection: true, // always ignore this
|
ignorePickIntersection: true, // always ignore this
|
||||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||||
drawHUDLayer: hudLayer,
|
drawHUDLayer: hudLayer,
|
||||||
|
|
Loading…
Reference in a new issue