Little background:
I used to utilize Visual Basic 6, doing crappy 3d stuff, using individual variables, making it harder upon myself. Now, however, I am using matrices, and a similar language, FreeBasic.
The issue is, however, that my trigonometric functions are not rounding out good enough, and therefore modify the original vertex's (a point, in three-dimensional space) location. After a full 360-degree rotation (and yes, internally, all rotations are converted into radians first), the vertex should be at its original location, just like drawing a circle.
However, the data is just not working out right.
My question is not programming related, but since it is part of what I am doing, I placed it in this here section. My question revolves around a good set of formulas to use for trigonometric formulas. I need a better set than built-in functions for sine/cosine. I was thinking about the trigonometric identities, however they also would utilize the sine/cosine functions.
Any ideas that I might be able to utilize?
I used to utilize Visual Basic 6, doing crappy 3d stuff, using individual variables, making it harder upon myself. Now, however, I am using matrices, and a similar language, FreeBasic.
The issue is, however, that my trigonometric functions are not rounding out good enough, and therefore modify the original vertex's (a point, in three-dimensional space) location. After a full 360-degree rotation (and yes, internally, all rotations are converted into radians first), the vertex should be at its original location, just like drawing a circle.
However, the data is just not working out right.
My question is not programming related, but since it is part of what I am doing, I placed it in this here section. My question revolves around a good set of formulas to use for trigonometric formulas. I need a better set than built-in functions for sine/cosine. I was thinking about the trigonometric identities, however they also would utilize the sine/cosine functions.
Any ideas that I might be able to utilize?