disable headrotation for hrefs
This commit is contained in:
parent
9a13746c1c
commit
935e0898c9
|
@ -8,8 +8,8 @@ xrf.frag.pos = function(v, opts){
|
|||
if( !obj ) return console.warn("#pos="+v.string+" not found")
|
||||
obj.add(camera) // follow animation of targeted position
|
||||
camera.position.set(0,0,0)
|
||||
let c = camera.rotation
|
||||
c.set( c.x, obj.rotation.y, c.z )
|
||||
//let c = camera.rotation
|
||||
//c.set( c.x, obj.rotation.y, c.z )
|
||||
|
||||
}else{
|
||||
// spec: direct coordinate: https://xrfragment.org/#navigating%203D
|
||||
|
|
Loading…
Reference in New Issue