Tagged Questions
0
votes
0answers
47 views
HTML5 Canvas: Get rect coords after rotation (relative to screen)
update: function(delta) {
for (var i = 0; i < this.bullets.length; i++) {
this.bullets[i].velocity = this.bullets[i].speed * delta;
this.bullets[i].contextX += ...
0
votes
0answers
212 views
JavaScript 3D space ship rotation
I am working with a fairly low-level JavaScript 3D API (not Three.js) which uses euler angles for rotation. In most cases, euler angles work quite well for doing things like aligning buildings, ...