blender/source
Sergey Sharybin 2c2e1775f9 Feather self-intersection test speed up
Made some minor optimization such as:

- Avoid using "%" operation in loops, replace with a check
  for index "overflow".
- Use pre-computed values for scaling feather coordinates
  to 0 .. 1 space.

This allowed to reach couple of milliseconds of boost.

Another change is to use higher number of buckets (up to 512).
This doesn't took significantly more memory (like uses only 10MB
of memory for average splines) and allows to have 30-50x boost
for average splines.

Use dynamically calculated number of buckets for this, to be
sure segments would fit two buckets.

Also fixed intersection detection in some cases when edge is
shared between two buckets -- it is possible that such edge
would cross third bucket and intersect edge from there.
2012-07-17 16:22:18 +00:00
..
blender Feather self-intersection test speed up 2012-07-17 16:22:18 +00:00
blenderplayer svn merge ^/trunk/blender -r48333:48370 2012-06-28 11:20:19 +00:00
creator fix for linking with scons. 2012-07-16 08:42:55 +00:00
darwin
gameengine code cleanup: spelling 2012-07-16 23:23:33 +00:00
icons
tests code cleanup: remove mode comments, these were applied very un-evenly across a few files. 2012-05-27 13:22:43 +00:00
CMakeLists.txt
SConscript Scons: 2012-06-30 22:44:36 +00:00