Lots of little niggling compiler errors
This commit is contained in:
parent
3a8c955796
commit
b7a9f07d5e
3 changed files with 12 additions and 7 deletions
|
@ -5,6 +5,10 @@
|
|||
|
||||
#include <ostream>
|
||||
|
||||
#include "basics/color.hh"
|
||||
|
||||
#include "basics/types.hh"
|
||||
|
||||
|
||||
namespace charles {
|
||||
namespace basics {
|
||||
|
|
|
@ -252,8 +252,8 @@ LinearCombination(const Double k1, const Vector4& v1,
|
|||
/*
|
||||
* charles::basics::operator<< --
|
||||
*/
|
||||
std::ostream &
|
||||
operator<<(std::ostream &os, const Vector3 &v)
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, const Vector4& v)
|
||||
{
|
||||
// Stream the vector like this: <x, y, z>
|
||||
os << "<" << v.X() << ", " << v.Y() << ", " << v.Z() << ">";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue