8238cd6992
use unsigned int, for mask rasterizer.
2013-05-08 12:54:47 +00:00
5c4f96af2c
code cleanup: use 'const float[2]' where possible.
2013-05-08 12:54:33 +00:00
e2fe7751d6
code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2
...
also add UNPACK macros's. handy for printing vectors for eg.
2012-11-15 22:20:18 +00:00
2bb174cfa4
style cleanup: indentation
2012-11-09 09:33:28 +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
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
13254cde8c
Alternate mask spline feather offset calculation method: now there are 2 [Even | Smooth]
...
- Even preserves thickness but can give unsightly loops
- Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers.
This is an example where smooth works much nicer.
http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-08-27 09:44:56 +00:00
52310bd4a7
code cleanup: remove dead assignments, gave mask vars clearer names & moved some mask evaluation funcs into mask_evaluate.c
2012-08-26 18:09:01 +00:00
d35957ba94
code cleanup: split out mask spline evaluation into its own file.
2012-08-26 13:41:40 +00:00