Closed 525c1e21-bd67-4735-ac99-b4b0e5262290 closed 8 years ago
Thanks @pyrotechnick for digging! Would you like to be a contributor to this module as well?
If you flip my commit bit I can fix my own mistakes!
This is merged + patched in v1.0.4
You're now a contributor. :smile: Guidelines: http://openopensource.org/
The title of #10 should have read "EPSILON way too small".
Suggesting
Number.EPSILON
was a mistake as it relates to doubles and is far too small.e335c74b72609f2cc948ce08a067dda0700fdef1 broke pitching a
perspective-camera
all the way "up" or "down" using anorbit-controls
.This is due to routines like gl-mat4/invert failing to behave when backed by
Float32Array
s which I demonstrate in #5See https://en.wikipedia.org/wiki/Machine_epsilon for formulaic explanations.
For the record:
gl-matrix
uses0.000001
which you'll agree is more than close enough.I apologise for any confusion as well as my mistaken suggestion.
This change should also alleviate many instances of #5 ^w^