21fddf7d1c
C99/C++11: replace deprecated finite() by isfinite().
2016-05-17 21:39:16 +02:00
bdf6393c98
Math Lib: pow_i for int power-of
2015-04-24 11:37:48 +10:00
2f42be6995
Cleanup: remove MSVC2008 workaround
2015-04-05 06:54:34 +10:00
07ceb99213
Code Cleanup: use strict flags for math lib, add inline declarations
2013-12-06 03:57:17 +11:00
660be3da39
use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations which have been removed.
2013-03-11 20:27:38 +00:00
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
53d32a0bd2
style cleanup: conform to style guide - mostly operator whitespace changes
2012-03-25 12:41:58 +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
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
6e39d908a9
quiet compiler warnings for -Wundef
2011-05-22 04:25: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
13d684f7bb
fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.
2010-10-19 04:25:16 +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
8ec59c7c68
Math Lib:
...
* inline some more functions, from math_base and math_vector
* also made some changes to the way inline is done so it can
work for more than one file
* reflect_v3_v3v3 requires input vectors to be normalized now.
* added rgb_to_grayscale
* added zero_v4, copy_v4_v4, swap_v4_v4, is_one_v3
* added box_clip_bounds_m4 to clip a bounding box against a
projection matrix
2010-01-22 11:10:24 +00:00
9633d198fb
solidify from 2.4x (ported from python to C)
...
- shell_angle_to_dist() was using degrees
2009-12-14 23:35:13 +00:00
3d1f297489
Added temporary compiling fix for MSVC after Campbell's rounding commit.
...
Copied (in if-defs - for msvc win32/64) the python math functions used for dealing with the lack of a 'round()' function.
2009-11-30 00:18:36 +00:00
d98093a91a
- added a new math function double_round, useful for rounding a number to a number of decimal places.
...
- added Mathutils vector method, vec.asTuple(round), since this is tedious in python and fairly common task.
2009-11-29 22:42:33 +00:00
4617bb68ba
Math Lib
...
* Pre-conversion commit removing old arithb.c code, this will not compile,
next commit fixes that.
2009-11-10 20:40:18 +00:00
60ea745613
Math Lib Reorganization
...
* New header and source files.
* Still need a few tweaks before switching code to use them.
2009-11-09 22:42:41 +00:00