Function operator<<

Function operator<<#

Function Documentation#

std::ostream &operator<<(std::ostream &os, const Karana::Math::AABB &aabb)#

Overloads the stream insertion operator << for the AABB class.

This allows an AABB object to be printed directly to an output stream using std::cout << aabb_object;. It uses the dumpString() method.

Parameters:
  • os – The output stream to write to.

  • aabb – The AABB object to print.

Returns:

A reference to the output stream.