| 44 | : from(cam.from), to(cam.to), up(cam.up), fov(cam.fov), handedness(handedness) {} |
| 45 | |
| 46 | std::string str() const |
| 47 | { |
| 48 | std::stringstream stream; |
| 49 | stream.precision(10); |
| 50 | stream << "--vp " << from.x << " " << from.y << " " << from.z << " " |
| 51 | << "--vi " << to.x << " " << to.y << " " << to.z << " " |
| 52 | << "--vu " << up.x << " " << up.y << " " << up.z << " " |
| 53 | << "--fov " << fov << " " |
| 54 | << (handedness == LEFT_HANDED ? "--lefthanded" : "--righthanded"); |
| 55 | return stream.str(); |
| 56 | } |
| 57 | |
| 58 | AffineSpace3fa camera2world () |
| 59 | { |
no outgoing calls
no test coverage detected