Remove GetModelCollisionBox, SetModelCollisionBox and SetModelBoundingBox natives (#536)
This commit is contained in:
@ -1108,32 +1108,6 @@ enum
|
||||
Model_CurrentSequence = -1,
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets size of the entity models collision box.
|
||||
*
|
||||
* @param entity The entity index to use.
|
||||
* @param mins The local negative collision box distance.
|
||||
* @param maxs The local positive collision box distance.
|
||||
*
|
||||
* @return 1 on success, 0 on faillure.
|
||||
*
|
||||
* @error Invalid entity.
|
||||
* Invalid model pointer.
|
||||
*/
|
||||
native GetModelCollisionBox(entity, Float:mins[3], Float:maxs[3]);
|
||||
|
||||
/**
|
||||
* Sets entity size to the models collision box.
|
||||
*
|
||||
* @param entity The entity index to set the value on.
|
||||
*
|
||||
* @return 1 on success, 0 on faillure.
|
||||
*
|
||||
* @error Invalid entity.
|
||||
* Invalid model pointer.
|
||||
*/
|
||||
native SetModelCollisionBox(entity);
|
||||
|
||||
/**
|
||||
* Gets size of a model bounding box.
|
||||
*
|
||||
@ -1151,19 +1125,3 @@ native SetModelCollisionBox(entity);
|
||||
* Invalid model pointer.
|
||||
*/
|
||||
native GetModelBoundingBox(entity, Float:mins[3], Float:maxs[3], sequence = Model_DefaultSize);
|
||||
|
||||
/**
|
||||
* Sets size to a model bounding box.
|
||||
*
|
||||
* @param entity The entity index to set the value on.
|
||||
* @param sequence The sequence to apply.
|
||||
* Model_DefaultSize sets size of ideal movement hull.
|
||||
* Model_CurrentSequence sets size of the current sequence.
|
||||
* Values >= 0 will specify which sequence to use.
|
||||
*
|
||||
* @return 1 on success, 0 on faillure.
|
||||
*
|
||||
* @error Invalid entity.
|
||||
* Invalid model pointer.
|
||||
*/
|
||||
native SetModelBoundingBox(index, sequence = Model_DefaultSize);
|
||||
|
Reference in New Issue
Block a user