Subversion Repositories gelsvn

Rev

Rev 10 | Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 45
Line 97... Line 97...
97
 
97
 
98
	/// Print quaternion to stream.
98
	/// Print quaternion to stream.
99
	inline std::ostream& operator<<(std::ostream&os, const Quaternion v)
99
	inline std::ostream& operator<<(std::ostream&os, const Quaternion v)
100
	{
100
	{
101
		os << "[ ";
101
		os << "[ ";
102
		for(int i=0;i<3;i++) os << v.qv[i] << " ";
102
		for(unsigned int i=0;i<3;i++) os << v.qv[i] << " ";
103
		os << " ~ " << v.qw << " ";
103
		os << " ~ " << v.qw << " ";
104
		os << "]";
104
		os << "]";
105
 
105
 
106
		return os;
106
		return os;
107
	}
107
	}