Laser pointer fixes

This commit is contained in:
ksuprynowicz 2023-04-16 16:44:25 +02:00
parent fdd8cb290c
commit 50879fa813
2 changed files with 5 additions and 3 deletions

View file

@ -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;

View file

@ -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,