26 template<
typename TDataType>
30 typedef typename TDataType::Real
Real;
31 typedef typename TDataType::Coord
Coord;
37 auto rot = this->varRotation()->getValue();
Implementation of quaternion.
DEF_VAR(Coord, Scale, Coord(1), "Node scale")
DEF_VAR(Coord, Rotation, 0, "Node rotation")
Quat< Real > computeQuaternion()
DEF_VAR(Coord, Location, 0, "Node location")
DYN_FUNC Quat< Real > & normalize()
This is an implementation of AdditiveCCD based on peridyno.