@@ -22,3 +22,13 @@ INLINE void LinearVectorForce::
set_vector(float x, float y, float z) {
_fvec.set(x, y, z);
}
+
+////////////////////////////////////////////////////////////////////
+// Function : get_vector
+// Access : Public
+// Description :
+INLINE LVector3f LinearVectorForce::
+get_vector(void) const {
+ return _fvec;
+}
@@ -30,6 +30,8 @@ PUBLISHED:
INLINE void set_vector(const LVector3f& v);
INLINE void set_vector(float x, float y, float z);
+ INLINE LVector3f get_vector(void) const;
public:
static TypeHandle get_class_type(void) {
return _type_handle;