Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2009-02-07 23:35:16 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2009-02-07 23:35:16 +0300
commit59e96a2831ef52bff36f900bb4bb31fffe072f7d (patch)
tree3d22ce9911a906a63b8eb7e7e91dca2a0723df3f /source/gameengine/Ketsji/KX_CameraActuator.h
parente40803a5b3ac860f895c2180fe90f0040f3583d5 (diff)
BGE Py API cleanup: Camera Actuator.
Diffstat (limited to 'source/gameengine/Ketsji/KX_CameraActuator.h')
-rw-r--r--source/gameengine/Ketsji/KX_CameraActuator.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/source/gameengine/Ketsji/KX_CameraActuator.h b/source/gameengine/Ketsji/KX_CameraActuator.h
index d53d12b3b82..4acca12833c 100644
--- a/source/gameengine/Ketsji/KX_CameraActuator.h
+++ b/source/gameengine/Ketsji/KX_CameraActuator.h
@@ -59,13 +59,13 @@ private :
//const MT_Scalar m_maxHeight;
/** height (float), */
- MT_Scalar m_height;
+ float m_height;
/** min (float), */
- MT_Scalar m_minHeight;
+ float m_minHeight;
/** max (float), */
- MT_Scalar m_maxHeight;
+ float m_maxHeight;
/** xy toggle (pick one): true == x, false == y */
bool m_x;
@@ -88,9 +88,9 @@ private :
SCA_IObject *gameobj,
//const CValue *ob,
SCA_IObject *ob,
- MT_Scalar hght,
- MT_Scalar minhght,
- MT_Scalar maxhght,
+ float hght,
+ float minhght,
+ float maxhght,
bool xytog,
PyTypeObject* T=&Type
@@ -121,7 +121,8 @@ private :
/* --------------------------------------------------------------------- */
virtual PyObject* _getattr(const STR_String& attr);
-
+ virtual int _setattr(const STR_String& attr, PyObject* value);
+
/* set object to look at */
KX_PYMETHOD_DOC_O(KX_CameraActuator,SetObject);
/* get current object */