--- trunk/test/brains/Atom.cpp 2004/10/23 23:09:46 147 +++ trunk/test/brains/Atom.cpp 2004/11/01 19:57:07 197 @@ -23,9 +23,10 @@ * */ +#include "primitives/Atom.hpp" namespace oopse { -Atom::Atom() : objType_(otAtom), storage_(&Snapshot::atomData){ +Atom::Atom(AtomType* at) : StuntDouble(otAtom, &Snapshot::atomData) ,atomType_(at) { } @@ -33,10 +34,6 @@ Mat3x3d Atom::getI() { return Mat3x3d::identity(); } -void Atom::setI(Mat3x3d& I) { - //warning message -} - std::vector Atom::getGrad() { vector grad(3); Vector3d force= getFrc();