mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:51:20 +02:00
lost my - sign
This commit is contained in:
parent
88ed96918a
commit
a107b2f06e
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ function updateOverlays() {
|
||||||
var diff = Vec3.subtract(target, eye);
|
var diff = Vec3.subtract(target, eye);
|
||||||
|
|
||||||
// move a bit in front, towards the camera
|
// move a bit in front, towards the camera
|
||||||
target = Vec3.sum(target, Vec3.multiply(Vec3.normalize(diff), offset));
|
target = Vec3.subtract(target, Vec3.multiply(Vec3.normalize(diff), offset));
|
||||||
|
|
||||||
// now bump it up a bit
|
// now bump it up a bit
|
||||||
target.y = target.y + offset;
|
target.y = target.y + offset;
|
||||||
|
|
Loading…
Reference in a new issue