1 /* 2 * Copyright 2008, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Alexandre Deckner <alex@zappotek.com> 7 */ 8 9 #include "Camera.h" 10 11 12 Camera::Camera(const Vector3& position, const Quaternion& orientation, 13 float fov, float near, float far) 14 : 15 fPosition(position), 16 fOrientation(orientation), 17 fFieldOfView(fov), 18 fNear(near), 19 fFar(far) 20 { 21 } 22 23 24 Camera::~Camera() 25 { 26 } 27