| 33 | } |
| 34 | |
| 35 | void SceneGraph::PerspectiveCameraNode::print(std::ostream& cout, int depth) { |
| 36 | cout << "PerspectiveCameraNode @ " << this << " { " << std::endl; |
| 37 | if (name != "") { |
| 38 | tab(cout, depth+1); cout << "name = " << name << std::endl; |
| 39 | } |
| 40 | tab(cout, depth+1); cout << "from = " << data.from << std::endl; |
| 41 | tab(cout, depth+1); cout << "to = " << data.to << std::endl; |
| 42 | tab(cout, depth+1); cout << "up = " << data.up << std::endl; |
| 43 | tab(cout, depth+1); cout << "fov = " << data.fov << std::endl; |
| 44 | tab(cout, depth); cout << "}" << std::endl; |
| 45 | } |
| 46 | |
| 47 | void SceneGraph::AnimatedPerspectiveCameraNode::print(std::ostream& cout, int depth) { |
| 48 | cout << "AnimatedPerspectiveCameraNode @ " << this << " { " << std::endl; |