// // hand.h // interface // // Created by Philip Rosedale on 10/13/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #ifndef interface_hand_h #define interface_hand_h #include "glm/glm.hpp" #include #include "util.h" #include "field.h" #include "world.h" #include const float RADIUS_RANGE = 10.0; class Hand { public: Hand(void); void simulate (float deltaTime); void render (); void reset (); void setNoise (float mag) { noise = mag; }; void addVel (glm::vec3 add) { velocity += add; }; private: glm::vec3 position, velocity; float noise; }; #endif