blender/intern/itasc/WorldObject.hpp
Luca Rood 1c4c288727 Pass EvaluationContext argument everywhere
Note that some little parts of code have been dissabled because eval_ctx
was not available there. This should be resolved once DerivedMesh is
replaced.
2017-07-21 14:47:26 +02:00

31 lines
635 B
C++

/*
* WorldObject.h
*
* Created on: Feb 10, 2009
* Author: benoitbolsee
*/
#ifndef WORLDOBJECT_HPP_
#define WORLDOBJECT_HPP_
#include "UncontrolledObject.hpp"
namespace iTaSC{
class WorldObject: public UncontrolledObject {
public:
WorldObject();
virtual ~WorldObject();
virtual void updateCoordinates(struct EvaluationContext *eval_ctx, const Timestamp& timestamp) {};
virtual void updateKinematics(const Timestamp& timestamp) {};
virtual void pushCache(const Timestamp& timestamp) {};
virtual void initCache(Cache *_cache) {};
protected:
virtual void updateJacobian() {}
};
}
#endif /* WORLDOBJECT_H_ */