3#include <cgv/math/vec.h>
28 for (
unsigned int i=0; i<n.
size(); ++i)
30 h(n.
size()) = -distance;
37 for (
unsigned int i=0; i<n.
size(); ++i)
44 return -h(h.
size()-1);
void resize(unsigned dim)
resize the vector
unsigned size() const
number of elements