2023-05-05 13:26:17 +02:00
|
|
|
xrfragment.xrf.pos = function(v, opts){
|
2023-05-04 21:28:12 +02:00
|
|
|
let { mesh, model, camera, scene, renderer, THREE} = opts
|
2023-05-08 14:21:28 +02:00
|
|
|
console.log(" └ setting camera position to "+v.string)
|
2023-05-04 21:28:12 +02:00
|
|
|
camera.position.x = v.x
|
|
|
|
|
camera.position.y = v.y
|
|
|
|
|
camera.position.z = v.z
|
|
|
|
|
}
|