unfunc cam client. fix boxes, tabs, fdm support lerp
This commit is contained in:
parent
5c0fbbcba6
commit
eff943f0d6
5 changed files with 463 additions and 440 deletions
|
|
@ -667,7 +667,7 @@ function contourPolys(widget, polys) {
|
|||
raycaster.ray.origin.set(point.x, point.y, 10000);
|
||||
const intersects = raycaster.intersectObject(widget.mesh, false);
|
||||
const firstHit = intersects[0] || null;
|
||||
point.z = firstHit.point.z;
|
||||
if (firstHit) point.z = firstHit.point.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue