float PlaneSize = 2.0f * (float)sqrtf((SQR(aRadius)-SQR(pRadius)));
float PlaneDelta = PlaneSize/(float)Divisions;
aRadius is 15
pRadius is 2500...
SQR(x) is simply: SQR(x) (x*x)
For some reason PlaneSize is coming out as -1.#IND000
This of course cause's Planedelta to be -1.#IND000 which then cause's every vertice I generate for the plane to be -1.#IND000
What on earth is going on? Em I exceeding the float max or what?




Reply With Quote