Comments (7)
@markhats yes, you are right. Have you tried initializing the quaternion with angle (instead of -angle) in the rotateCamera method?
quaternion.setAxisAngle( axis, angle );
from three.dart.
Yes, swapping the sign of angle sorts it in this case - thanks!
I wonder if there are any other places in the code where this difference has an effect?
from three.dart.
I have swapped the sign in calls to quaternion.setAxisAngle since vector_math's Quaternion defines it's rotation in the opposite direction.
See #77
from three.dart.
@andersforsell can we close this out?
from three.dart.
@financecoding yes, it has been merged by @nelsonsilva
from three.dart.
Thanks!
from three.dart.
@financecoding
@nelsonsilva on my mobile and was a bit quick commenting on wrong issue, but I think @markhats was fine with the solution of swapping sign.
from three.dart.
Related Issues (20)
- All demos broken when attempting to run them in Dartium HOT 1
- Dart can't find OBJLoader. HOT 3
- More type annotations or type documentation please HOT 3
- CanvasRenderingContext2D.createPattern used for images
- Texture repeat: natural dimensions HOT 2
- Particles in WebGLRenderer? HOT 1
- dartfmt HOT 8
- Postprocessing HOT 3
- Rendering WebGLRenderTargets and the Renderer interface HOT 3
- Hemisphere light broken HOT 4
- BoundingBox does not have the same function then the three.js
- Add contributer's guide HOT 1
- Implement clone() and dispose() per threejs
- Status of this project HOT 1
- Creating a PlaneGeometry with too many height/width units crashes dartium.
- How should I use the newest three.dart HOT 4
- The method getChildByName from object3d don't work HOT 2
- Instancing HOT 3
- orbit_controls.dart is broken due to browser changes HOT 2
- Alive? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.dart.