1#ifndef MECACELL_ROTATION_H
2#define MECACELL_ROTATION_H
23 V::addAsAngularVelocity(v, R);
47 Rotation R = V::addRotations(R2, *
this);
52 Rotation R = V::addRotations(-R2, *
this);
this file contains various miscellanious utility functions & helpers *
Provides common mathematical functions and vector operations.
double fmod(double x, double y)
Computes the remainder of the division of two numbers.
Rotation rotated(const Rotation &r) const
Rotation compressed() const
Rotation operator+(const Rotation &R2) const
Rotation operator-(const Rotation &R2) const
Rotation operator+(const V &v) const
Rotation inverted() const
Rotation(const V &v, const double &f)