- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def
re4afb4 r1fd675 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 15 #define paramtypes (double)(Vector) 16 #define paramtokens ("rotate-self")("position") 17 #define paramdescriptions ("rotation angle")("position in R^3 space") 18 #undef paramdefaults 19 #define paramreferences (angle)(Axis) 14 // "undefine" if no parameters are required 15 #define paramtypes (double) (Vector) 16 #define paramtokens (MoleculeRotateAroundSelfByAngleAction::NAME) ("position") 17 #define paramreferences (angle) (Axis) 20 18 21 19 #define statetypes (molecule * const) … … 24 22 // some defines for all the names, you may use ACTION, STATE and PARAMS 25 23 #define CATEGORY Molecule 26 #define MENUNAME "molecule"27 #define MENUPOSITION 828 24 #define ACTIONNAME RotateAroundSelfByAngle 29 25 #define TOKEN "rotate-self" 30 26 31 32 // finally the information stored in the ActionTrait specialization33 #define DESCRIPTION "rotates molecules by a specific angle around own center of gravity"34 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.