You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
userLocation.position.copy(userPose.position); Argument of type 'Cartesian3' is not assignable to parameter of type 'Vector3'. Property 'set' is missing in type 'Cartesian3'.'
message: 'Property 'setValue' does not exist on type 'PositionProperty'. Did you mean 'getValue'?'
message: 'Property 'setValue' does not exist on type 'Property'. Did you mean 'getValue'?'
Yes, I'm using types both for THREE.js and Argon.
The text was updated successfully, but these errors were encountered:
The better solution is to submit a PR to the types for threejs to relax the requirement for methods like "copy()", which really only care about certain properties on the passed object.
Part 1:
userLocation.position.copy(userPose.position);
Argument of type 'Cartesian3' is not assignable to parameter of type 'Vector3'. Property 'set' is missing in type 'Cartesian3'.'
Since TypeCast doesn't help, gotta do this:
And then there's more errors for these:
Yes, I'm using types both for THREE.js and Argon.
The text was updated successfully, but these errors were encountered: