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
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
d738c8df1f
use BLI math functions for kdopbvh (no functional change)
2011-11-06 12:11:50 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
599cd56f53
minor edits / cleanup - no functional changes.
...
- use 'const float *' and array size in some function declarations.
- replace macros for BLI_math functions INPF, VECCOPY, VECADD etc.
- remove unused VertRen.clip struct member.
- remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3().
- use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-11 02:50:01 +00:00
27ec8d5043
fix for some warnings with the recent merge, also tag unused args.
2011-08-30 09:50:31 +00:00
d0e4f7b9f2
remove unused code, comment some that may be useful (maintainers can remove).
2011-05-23 15:23:31 +00:00
Nathan Letwory
7900b5949f
doxygen: blender/blenlib tagged.
2011-02-27 20:37:56 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
1b25f48542
clear some unused warnings
2011-02-17 12:05:09 +00:00
0955c664aa
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
...
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
2011-02-13 10:52:18 +00:00
89c9aaaa25
remove references to BKE_utildefines where its not needed.
...
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07 19:18:31 +00:00
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
Nathan Letwory
c821fc85d3
index for openmp loop needs to be signed int.
2010-10-22 10:18:58 +00:00
8259321a5f
fix warnings
2010-10-21 22:45:54 +00:00