33 template<
typename Shape>
44 for (
int i = 0; i < dim; ++i) {
45 m_shape.m_elem[i] = 0;
47 m_shape.m_valid =
true;
66 #endif //WFMATH_ZERO_H Generic library namespace.
Definition: atlasconv.h:45
const Shape & getShape() const
Gets the zeroed shape.
Definition: zero.h:53
ZeroPrimitive(int dim)
Ctor. An instance of Shape with zero values will be created at construction time. ...
Definition: zero.h:42
A fake class which documents the generic parts of the WFMath interface.
Definition: shape.h:56