| 22 | #include "vectorvalue.h" |
| 23 | |
| 24 | SquareModule::SquareModule(Reporter& r) : PrimitiveModule(r,"square") |
| 25 | { |
| 26 | addDescription(tr("Constructs a square or rectangle. It will be placed in the first quadrant.")); |
| 27 | addParameter("size",tr("The size of the square")); |
| 28 | addParameter("center",tr("Specifies whether to center the square on the xy plane")); |
| 29 | } |
| 30 | |
| 31 | Node* SquareModule::evaluate(const Context& ctx) const |
| 32 | { |
nothing calls this directly
no outgoing calls
no test coverage detected