Simimilar problem to Math.Atan2 or class instance problem in C# and add two double given wrong result
It is something that simple lines:
public static S
It would help if you told us the value of degree
then we could try to reproduce the problem...
Three things:
ToExactString
method which can help diagnose this sort of thing.EDIT: Okay, so it sounds like I guessed right, and DirectX is probably the cause. You can pass CreateFlags.FpuPreserve to the Device constructor to avoid it doing this. That will reduce the performance of DirectX, admittedly - but that's a tradeoff you'll need to consider for yourself.