|     58 inline const gridinfo& currentGrid () { | 
    58 inline const gridinfo& currentGrid () { | 
|     59 	return g_GridInfo[grid]; | 
    59 	return g_GridInfo[grid]; | 
|     60 } | 
    60 } | 
|     61  | 
    61  | 
|     62 // ============================================================================= | 
    62 // ============================================================================= | 
|         | 
    63 enum RotationPoint | 
|         | 
    64 { | 
|         | 
    65 	ObjectOrigin, | 
|         | 
    66 	WorldOrigin, | 
|         | 
    67 	CustomPoint | 
|         | 
    68 }; | 
|         | 
    69  | 
|     63 vertex rotPoint (const vector<LDObject*>& objs); | 
    70 vertex rotPoint (const vector<LDObject*>& objs); | 
|     64 void configRotationPoint (); | 
    71 void configRotationPoint (); | 
|     65  | 
    72  | 
|     66 template<class T, class R> R container_cast (const T& a) { | 
    73 template<class T, class R> R container_cast (const T& a) { | 
|     67 	R b; | 
    74 	R b; |