Redmond Urbino 18 лет назад
Родитель
Сommit
f1a99466e7
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      panda/src/ode/odeUtil.h

+ 3 - 0
panda/src/ode/odeUtil.h

@@ -46,6 +46,9 @@ PUBLISHED:
 	                             const int joint_type);
 	                             const int joint_type);
 
 
   static dReal OC_infinity;  
   static dReal OC_infinity;  
+
+  // RAU we can't access OC_infinity as constants are not exposed in python
+  static dReal get_infinity() {return OC_infinity;};
 };
 };
 
 
 #endif
 #endif