# | Line 53 | Line 53 | class RigidBody : public StuntDouble { (public) | |
---|---|---|
53 | void getJ( double theJ[3] ); | |
54 | void setJ( double theJ[3] ); | |
55 | ||
56 | + | virtual void setType(char* type) {strcpy(rbName, type);} |
57 | + | virtual char* getType() { return rbName;} |
58 | + | |
59 | void getTrq( double theT[3] ); | |
60 | void addTrq( double theT[3] ); | |
61 | ||
# | Line 102 | Line 105 | class RigidBody : public StuntDouble { (public) | |
105 | bool forces_good; | |
106 | bool precalc_done; | |
107 | bool orient_good; | |
108 | + | |
109 | + | char rbName[100]; //it will eventually be converted into string |
110 | }; | |
111 | ||
112 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |