www.delorie.com/archives/browse.cgi | search |
So... internally *every* value is a fraction? I imagine integer overflow might be a non-trivial problem to solve. But if the whole point is to defer imprecise operations, what is the advantage of this over just storing the angles as degrees and doing the math on the fly? Just speed? /me wonders what the speed difference would be, if you include all the division ops you've created a need for, plus algorithms to find pythagorean triples as needed, plus overflow protection of a sort, etc. I'm not even sure we've covered all the advantages of storing rotations as a relationship rather than a transformation... like, if we "down symbol" we'd want to edit the unrotated symbol.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |