Beispiel #1
0
	Quaternion_T<T>::Quaternion_T(Vector_T<T, 3> const & vec, T s) noexcept
	{
		this->x() = vec.x();
		this->y() = vec.y();
		this->z() = vec.z();
		this->w() = s;
	}
Beispiel #2
0
	void Quaternion_T<T>::v(Vector_T<T, 3> const & rhs) noexcept
	{
		this->x() = rhs.x();
		this->y() = rhs.y();
		this->z() = rhs.z();
	}
Beispiel #3
0
	void Plane_T<T>::Normal(Vector_T<T, 3> const & rhs)
	{
		this->a() = rhs.x();
		this->b() = rhs.y();
		this->c() = rhs.z();
	}