Skip to content

fixed a runtime divide by zero crash for integral type template instanciations

Marco Langer requested to merge llocram/kicad:fix-math-bug into master

Fixed a possible runtime crash divide by zero bug in VECTOR3 class, because Normalize() was ill-formed for integral type template instantiations.

Furthermore I removed the copy constructor to make the class trivially copyable to improve performance.

Merge request reports