| 833 | } |
| 834 | |
| 835 | Ref<SceneGraph::Node> XMLLoader::loadPerspectiveCamera(const Ref<XML>& xml) |
| 836 | { |
| 837 | const Vec3fa from = xml->parm_Vec3fa("from"); |
| 838 | const Vec3fa to = xml->parm_Vec3fa("to"); |
| 839 | const Vec3fa up = xml->parm_Vec3fa("up"); |
| 840 | const float fov = xml->parm_float("fov"); |
| 841 | return new SceneGraph::PerspectiveCameraNode(from,to,up,fov); |
| 842 | } |
| 843 | |
| 844 | Ref<SceneGraph::Node> XMLLoader::loadAnimatedPerspectiveCamera(const Ref<XML>& xml) |
| 845 | { |
nothing calls this directly
no test coverage detected