Sha256: 12bfcdd3440e6855cddf8b04d9d4095e2d5a42a0af7e1e76950194dae33e5100
Contents?: true
Size: 552 Bytes
Versions: 3
Compression:
Stored size: 552 Bytes
Contents
#include "rays/point.h" namespace Rays { Point::Point (coord value) { set(value); } Point::Point (coord x, coord y, coord z) { set(x, y, z); } Point Point::dup () const { return *this; } Point& Point::set (coord value) { return set(value, value, 0); } Point& Point::set (coord x, coord y, coord z) { this->x = x; this->y = y; this->z = z; return *this; } coord* Point::array () { return (coord*) this; } const coord* Point::array () const { return const_cast<Point*>(this)->array(); } }// Rays
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rays-0.1.6 | src/point.cpp |
rays-0.1.5 | src/point.cpp |
rays-0.1.4 | src/point.cpp |