New ToeTag Feature
Saturday, May 10th, 2008Soon. Heh, sorry! No, it should be done within the next few days assuming that things go as planned. It’s forced me to clean up my 3D code somewhat though and I’m kind of getting happy with how it works/looks now. I used to have a bunch of functions where I could ask a plane which side of it a vertex was sitting on. I’ve condensed that down to one now:
-(ESide) getVertexSide:(TVec3D*)InVector
{
float distance = [self getDistanceFrom:InVector];
float delta = fabs( distance - dist );
if( delta < = ON_PLANE_EPSILON )
{
return S_OnPlane;
}
if( (dist - ON_PLANE_EPSILON) < distance )
{
return S_Front;
}
return S_Behind;
}
Not very exciting, I know, but I haven’t posted anything in a few days and was feeling bad.
I hope to be back soon with cool shots of a kick ass new feature!
I don’t know why WordPress sucks SO MUCH at posting source code but if anyone knows how to make that look nicer, I’m all ears. Unbelievable that it’s 2008 and it doesn’t “just work” yet.
