shorten code

This commit is contained in:
Garux
2019-08-23 14:40:45 +03:00
parent da7c72547b
commit 4e82cdf2f4
7 changed files with 49 additions and 180 deletions

View File

@@ -539,10 +539,6 @@ void Select_GetBounds( Vector3& mins, Vector3& maxs ){
mins = vector3_subtracted( bounds.origin, bounds.extents );
}
void Select_GetMid( Vector3& mid ){
mid = vector3_snapped( GlobalSelectionSystem().getBoundsSelected().origin );
}
void Select_FlipAxis( int axis ){
Vector3 flip( 1, 1, 1 );