1e3904677c
Avoid integer overflow in build_implicit_tree_helper
2014-04-26 06:55:36 +10:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
23ef10c705
Code cleanup: kdopbvh, move minmax init into function
2014-03-30 10:33:01 +11:00
19fcb4de44
Fix kdopbvh incorrect checks for failed allocs
...
also assert for invalid args
2014-03-20 10:49:30 +11:00
a91247c2b4
Code cleanup: unreachable break/return
2014-03-19 12:47:09 +11:00
921c829bcf
Code cleanup: redundant normalize in bmbvh ray cast
2014-03-12 18:30:37 +11:00
fed1b8b16d
Code cleanup: suffix vars to make obvious they are squared
2014-02-03 02:46:45 +11:00
afab39b9d6
code cleanup: use const's for static arrays
2013-10-10 20:22:17 +00:00
cdabc891e2
remove error return value from BLI_bvhtree_insert, no callers were using.
...
in the case of an error - assert, rather then fail silently since it wont be working as expected anyway.
2013-09-04 20:33:50 +00:00
4d61e4a428
use strict flags for kdopbvh, also assert when invalid treetype is passed, rather then failing silently.
2013-09-04 20:03:33 +00:00
49c61e169b
misc edits
...
- fix for missing None check with recent 'Hidden Wire' draw option.
- avoid int overflow with mesh selection.
- remove ';' outside of functions.
2013-07-20 15:07:57 +00:00
eacb629c72
style cleanup
2013-05-19 15:11:25 +00:00
ae0220332e
code cleanup: simplify fast_ray_nearest_hit()
2013-05-19 15:03:36 +00:00
9090049505
code cleanup
2012-12-23 16:09:26 +00:00
cc32540c48
style cleanup: stop the style checker script from complaining about '!*ptr'
2012-12-15 02:48:25 +00:00
b867f9f17e
style cleanup: comments & spelling
2012-11-18 01:22:31 +00:00
34fecdd60e
code cleanup: use min/max functions rather then macros.
2012-11-07 12:31:05 +00:00
f213ae0b19
style cleanup
2012-11-01 09:54:00 +00:00
9e6d27bbf0
add BLI_STATIC_ASSERT macro.
2012-10-25 04:44:46 +00:00
0cba4e6d6f
use smaller type for kdopbvh - this change was made as a size optimization, and I moved back to ints since there were many int comparisons.
...
now define axis_t and an unsugned char.
2012-10-24 08:16:49 +00:00
90f4ed3a0e
use int's for kdopbvh start/stop axis since there were loops comparing with other ints.
2012-10-24 05:08:33 +00:00
81eafc49e6
use min_ii/max_ii over MIN2 MAX2
2012-10-24 05:06:40 +00:00
fec81d9b56
use min_ max_ functions in more places.
...
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-23 16:21:55 +00:00
f70d2c65d8
rename api functions...
...
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23 13:28:22 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
c56a911cd9
style cleanup: comments
2012-10-20 20:20:02 +00:00
92862f96dc
code cleanup: use float sizes for function args.
2012-10-15 23:11:59 +00:00
ed1cda9a6c
style cleanup
2012-09-30 06:12:47 +00:00
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
7217927414
add inline functions for max/min ints, good to use when the arguments are function calls (we had a few of these).
2012-07-29 18:14:20 +00:00
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
81829f5221
code cleanup: use const for passing vectors
2012-07-11 12:42:02 +00:00
4bc818d240
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).
...
also some other minor changes.
2012-07-08 12:23:58 +00:00
cfb7aee017
style cleanup
2012-07-07 22:51:57 +00:00
032d83ecc4
style cleanup: defines with braces
2012-05-27 20:13:59 +00:00
ed679693c9
style cleanup: whitespace/indentation
2012-05-19 13:55:54 +00:00
2f2b15bbb2
style cleanup: whitespace, bli & makesdna
2012-05-12 15:02:10 +00:00
1b47e2678e
style cleanup: missed these from previous cleanup
2012-04-29 17:55:54 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
5aaf3ede76
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')
2012-04-12 00:15:02 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
46045fbb09
style cleanup - braces & else / if's
2012-03-07 04:53:43 +00:00
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00