Look at the code for UTIL_SetModel() (in the server game util.cpp)
If you have the model index for the entity (GetModelIndex()) you can do
this:
const model_t *mod = modelinfo->GetModel( i );
if ( mod )
{
Vector mins, maxs;
modelinfo->GetModelBounds( mod, mins, maxs );
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
TheDisturbedOne
Sent: Tuesday, December 04, 2007 6:27 PM
To: [email protected]
Subject: [hlcoders] Brush Dimensions
If I have a brush entity, how do I get the length/width/height?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders