Details
Add the following methods to the Quaternion class:
Quaternion operator+(Quaternion q)
Quaternion operator-(Quaternion q)
Quaternion operator*(float f)
float Quaternion::dot()
void normalize()
Quaternion Quaternion::slerp(Quaternion q1, Quaternion q2, double t)
Submission
Please show your source code and run your program for the instructor.