Commit Graph

10 Commits

Author SHA1 Message Date
Chris Hennes
c5c419e55a LGTM: Eliminate float-to-double overflow warning
LGTM complains if this calculation is done from inside the sqrt() call
because it sees the explicit cast to float and assumes that sqrt() is
intended to take a double. By adding an intermediate step it should be
clear to LGTM that the float version of sqrt is intended.
2021-02-09 20:01:13 +01:00
wmayer
63fa1d2c42 avoid several implicit conversions, replace several old C-casts with static_cast 2019-09-19 19:43:10 +02:00
wmayer
f6e1cb6025 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
2d09b48662 + fix undefined behaviour in determining grid length for planar meshes 2015-11-16 11:59:41 +01:00
wmayer
3797c51eea + properly handle case of degenerated bounding box when creating mesh grid 2015-11-14 14:08:01 +01:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
51e4eebbc6 + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
Julien Nabet
ac57af3b8a Fix some cppcheck reports:
- (error) va_list '<var>' was opened but not closed by va_end()
- (style) Same expression on both sides of '||'
- (style) Same expression on both sides of '!='
2015-01-06 11:37:44 +01:00
wmayer
70b626af09 + fix possible endless loop in mesh grid, allow to set an array of points to the kernel 2013-11-19 18:11:46 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00