mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 12:53:44 +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) {
|
||||
}
|
||||
|
||||
//V8TODO: needs to be fixed due to 3D overlay support removal
|
||||
|
||||
PickParabola ParabolaPick::getMathematicalPick() const {
|
||||
if (!parentTransform) {
|
||||
PickParabola mathPick = _mathPick;
|
||||
|
|
|
@ -29,7 +29,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
|||
alpha: 1,
|
||||
solid: true,
|
||||
glow: true,
|
||||
billboardMode: "yaw",
|
||||
faceCamera: true,
|
||||
ignorePickIntersection: true, // always ignore this
|
||||
//V8TODO
|
||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||
|
@ -53,7 +53,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
|||
alpha: 1,
|
||||
solid: true,
|
||||
glow: true,
|
||||
billboardMode: "yaw",
|
||||
faceCamera: true,
|
||||
ignorePickIntersection: true, // always ignore this
|
||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||
drawHUDLayer: hudLayer,
|
||||
|
@ -76,7 +76,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
|
|||
alpha: 1,
|
||||
solid: true,
|
||||
glow: true,
|
||||
billboardMode: "yaw",
|
||||
faceCamera: true,
|
||||
ignorePickIntersection: true, // always ignore this
|
||||
drawInFront: !hudLayer, // Even when buried inside of something, show it.
|
||||
drawHUDLayer: hudLayer,
|
||||
|
|
Loading…
Reference in a new issue