- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def
r1fd675 re4afb4 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 15 #define paramtypes (double) (Vector) 16 #define paramtokens (MoleculeRotateAroundSelfByAngleAction::NAME) ("position") 17 #define paramreferences (angle) (Axis) 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) 18 20 19 21 #define statetypes (molecule * const) … … 22 24 // some defines for all the names, you may use ACTION, STATE and PARAMS 23 25 #define CATEGORY Molecule 26 #define MENUNAME "molecule" 27 #define MENUPOSITION 8 24 28 #define ACTIONNAME RotateAroundSelfByAngle 25 29 #define TOKEN "rotate-self" 26 30 31 32 // finally the information stored in the ActionTrait specialization 33 #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.