Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AtomAction/RotateAroundOriginByAngleAction.def

    re4afb4 r1fd675  
    1111// i.e. there is an integer with variable name Z that can be found in
    1212// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    14 #define paramtypes (double)(Vector)
    15 #define paramtokens ("rotate-origin")("position")
    16 #define paramdescriptions ("rotation angle")("position in R^3 space")
    17 #undef paramdefaults
    18 #define paramreferences (angle)(Axis)
     13// "undefine" if no parameters are required
     14#define paramtypes (double) (Vector)
     15#define paramtokens (AtomRotateAroundOriginByAngleAction::NAME) ("position")
     16#define paramreferences (angle) (Axis)
    1917
    2018#define statetypes (std::vector<atom*>)
     
    2321// some defines for all the names, you may use ACTION, STATE and PARAMS
    2422#define CATEGORY Atom
    25 #define MENUNAME "atom"
    26 #define MENUPOSITION 5
    2723#define ACTIONNAME RotateAroundOriginByAngle
    2824#define TOKEN "rotate-origin"
    2925
    30 
    31 // finally the information stored in the ActionTrait specialization
    32 #define DESCRIPTION "rotate selected atoms by a specific angle around origin"
    33 #undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.