41216d5ad4
Cleanup: Remove more #if 0 blocks
...
Continuation of https://developer.blender.org/D3802
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3808
2018-10-18 15:43:06 +02:00
5513da65b2
Cleanup: trailing space for BLI
2018-06-17 16:32:54 +02:00
c454d816a9
Cleanup: style
2017-10-06 16:56:41 +11:00
5c30bc285c
Fix T52034: cell noise renders different.
...
Tweak the bias from the previous fix a bit to be more backwards compatible in
some scene. In the end which way we round is quite arbitrary, but keeping the
case where the texture coordinate is exactly zero the same seems better.
2017-07-16 01:27:55 +02:00
3232d8ec8f
Fix T51951: cell noise texture precision issue at unit vertex coordinates.
...
Solution is to bias the coordinates a little, same as Cycles checker texture.
2017-07-02 22:00:10 +02:00
3df30c1a6e
Cleanup: parenthesize defines
2016-06-01 00:19:01 +10:00
bc8504cb4c
Cleanup: shadowing (blenlib, gpu, imbuf)
2015-11-23 17:40:10 +11:00
09e40a4956
Cleanup: spelling
2015-09-14 02:22:22 +10:00
d4934f8f6d
cleanup: style/indentation
2015-02-11 18:39:28 +11:00
1f58bfb8be
Code cleanup: de-duplicate cotangent weight function & add arg sizes
2014-03-30 11:08:33 +11:00
d76bcf98a3
MSVC: improve warnings for scons and cmake
...
Some int/float conversion warnings were disabled by buildsystems but
re-enabled by BLI_winstuff.h, the warnigns relate to conversions not
considered issues on other systems so better just quiet them.
2014-02-19 17:37:02 +11:00
b6db417ee4
code cleanup: use const's for vector args.
2013-10-12 02:19:37 +00:00
afab39b9d6
code cleanup: use const's for static arrays
2013-10-10 20:22:17 +00:00
7db1d6556d
code cleanup: add break statements in switch ()'s, (even at the last case).
2013-07-21 08:16:37 +00:00
d9c9209608
code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and harmless global/local naming conflict.
2013-03-15 22:55:10 +00:00
761ac89877
style cleanup
2013-01-15 23:45:41 +00:00
973cb29d84
style cleanup: if's on the same line.
2012-11-18 02:41:55 +00:00
a7bee65d38
make smoothing value for ring select compatible with the operator.
...
also wrap long lines in noise.c
2012-11-13 02:45:42 +00:00
f213ae0b19
style cleanup
2012-11-01 09:54:00 +00:00
4d4664d98f
code cleanup: check for msvc directly when using warning pragma's.
2012-10-15 02:15:07 +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
382ded688a
Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).
2012-07-17 18:14:59 +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
857dedbc58
style cleanup
2012-05-27 00:36:50 +00:00
57b488574a
style cleanup: comma placement
2012-05-23 22:45:39 +00:00
2f2b15bbb2
style cleanup: whitespace, bli & makesdna
2012-05-12 15:02:10 +00:00
6327c9aae1
style cleanup: whitespace, braces
2012-05-01 20:08:23 +00:00
112162e09e
code cleanup: header cleanup
2012-04-30 14:24:11 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
f3792b0f2b
code cleanup: use uppercase for defines and dont end macro's with ;
2012-03-31 03:36:15 +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
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
cd4123e1db
use inline BLI_math functions for dot product and length calculation.
2012-01-22 17:20:37 +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
419042af55
Fix #28394 : clouds texture error with high noise depth and blender original
...
noise, patch from Campbell,
2011-09-05 16:25:42 +00:00
81ea1e7fcb
remove implicit casts to doubles in the noise code, also use floating point math functions rather then double since the noise functions range is already limited by casting to ints in many places.
...
- gives a very small speedup.
2011-08-28 02:54:26 +00:00
4684df0830
fix [ #28388 ] Clouds at high depth give artifacts.
...
http://projects.blender.org/tracker/download.php/9/498/28388/17476/screen_bad.png
2011-08-28 02:04:40 +00:00
f9f771cd01
converted more mixed tab/space indentations to tabs. only whitespace changes.
2011-04-21 15:53:30 +00:00
Nathan Letwory
7900b5949f
doxygen: blender/blenlib tagged.
2011-02-27 20:37:56 +00:00
8b7482892b
made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.
2011-02-14 17:55:27 +00:00
3b74074aec
remove unused code & variables.
2011-01-08 12:43:44 +00:00
8268a4be71
most unused arg warnings corrected.
...
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
30a7c6d281
Merge a few small blenlib changes from the render25 branch:
...
* define for missing hypotf on msvc.
* svd_m4 and pseudoinverse_m4_m4 functions.
* small tweak to perlin noise, use static function instead of macro.
* BLI_linklist_find and BLI_linklist_insert_after functions.
* MALWAYS_INLINE define to force inlining.
2010-06-22 15:20:06 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
1e9bf0cfdb
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
2010-03-22 09:30:00 +00:00
07b547980d
remove unused includes for blenlib, left ifdef's for non linux os's alone.
2010-03-20 18:52:03 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00