Saturday, August 15, 2009

Curve Angle

some benchmarks, all in microseconds, 100 rings, running average of 100 samples:

574 previous version: no curve angle support
765 curve angle support, but curve angle2 calc commented out
767 curve angle support, but curve angle2 calc skipped by zero test

same test but with 20 sides instead of 5:
1.843 previous version: no curve angle support
2.547 curve angle support, but curve angle2 calc commented out
2.564 curve angle support, but curve angle2 calc skipped by zero test

same test on bad box:
297 previous version: no curve angle support
378 curve angle support, but curve angle2 calc skipped by zero test

Either way best case is curve calc now takes approx. 33% longer. However the good news is the entire point calc is only about 20% of the draw function time *in line mode*.

1 comment:

Unknown said...

Hi, I was just on the Church of Euthanasia
website, and i noticed in one interview, you said you had received letters from people who claimed that they kill and eat people. I was thinking that shouldn't you probably give those letters to the police so the people who sent the letters can be investigated in case they actually are killing people, that way they can be prevented from killing anyone else.
I tried contacting you through the Church of Euthanasia website but the contact form seems to not be working, so I contacted you here. Thanks for listening and I am a big fan by the way.