aboutsummaryrefslogtreecommitdiff
path: root/include/vector3d.h
AgeCommit message (Collapse)Author
2022-05-10Add hash for vector2d and vector3d (#93)Richard Try
2022-02-09vector3d scalar operator/ and operator/= no longer multiply by the inverse ↵cutealien
but use the expected division. That was a bad case of premature optimization. Multiplication is indeed faster, but when working with floats this can introduce some rather unexpected inaccuracies. Like x/x suddenly no longer being 1.0 (something guaranteed by division). If someone really needs this back, then please add some new function which makes it clear we don't just have a typical division here. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6298 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-03-09Remove trivial copy constructors and operatorssfan5
2020-01-03Merging r5975 through r6036 from trunk to ogl-es branch.cutealien
GLES drivers adapted, but only did make compile-tests. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475