src/misc.h

changeset 332
3013acb1df53
parent 308
4e2425bd4dc7
child 381
241f65769a57
equal deleted inserted replaced
331:bf301f81a0b6 332:3013acb1df53
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;

mercurial