tag:blogger.com,1999:blog-10918543.post-20544092015506532252007-11-06T20:21:00.000+02:002007-11-06T20:21:00.000+02:00Hi.You cn check out the source code at sourceforge...Hi.<BR/><BR/>You cn check out the source code at sourceforge here:<BR/><BR/>http://ge2.svn.sourceforge.net/viewvc/ge2/Trunk/src/Math/<BR/><BR/>The trig.cpp should explain that.<BR/><BR/>The glTriangle table I added to be able to smoothly interpolate between 0.0 ... 1.0 ... 0.0 values.<BR/>This is linearly interpolated.<BR/>Thats why it is perfect for such job.Dmitri Kuznetsovhttp://www.blogger.com/profile/12435724008326028013noreply@blogger.com