New ToeTag Feature
Soon. 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.
Tags: Misc
May 11th, 2008 at 6:37 am
There should be a “code” button. If not then put
around the code. You would need to switch to the HTML view.I am sure that this is just an anti-Mac feature! ;p
May 11th, 2008 at 6:38 am
err, “put <code></code>” around it. Seems like commenting in Wordpress is stupid too.
May 11th, 2008 at 7:19 am
That’s what I used. It helpfully removes all whitespace so you can’t indent. Beautiful! Because code is never indented so that makes perfect sense.
*grumble*