[DEV] correct the namespace of ostream operator << for vec3

This commit is contained in:
Edouard DUPIN 2014-11-18 21:37:46 +01:00
parent f04c3dd238
commit 4b3cdf0156
2 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ std::ostream& etk::operator <<(std::ostream& _os, const ivec3& _obj) {
return _os; return _os;
} }
std::ostream& etk::operator <<(std::ostream& _os, const vec3& _obj) { std::ostream& operator <<(std::ostream& _os, const vec3& _obj) {
_os << "("; _os << "(";
_os << _obj.x(); _os << _obj.x();
_os << ","; _os << ",";

View File

@ -443,14 +443,13 @@ namespace etk {
*/ */
std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<int32_t>& _obj); std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<int32_t>& _obj);
//! @previous //! @previous
std::ostream& operator <<(std::ostream& _os, const btVector3& _obj);
//! @previous
std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<uint32_t>& _obj); std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<uint32_t>& _obj);
//! @previous //! @previous
std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<bool>& _obj); std::ostream& operator <<(std::ostream& _os, const etk::Vector3D<bool>& _obj);
}; };
std::ostream& operator <<(std::ostream& _os, const btVector3& _obj);
// To siplify the writing of the code ==> this permit to have the same name with the glsl language... // To siplify the writing of the code ==> this permit to have the same name with the glsl language...
typedef btVector3 vec3; typedef btVector3 vec3;
typedef etk::Vector3D<float> ovec3; // specific for OpenGL ... ==> never change this ... typedef etk::Vector3D<float> ovec3; // specific for OpenGL ... ==> never change this ...