Debian Codegraph @

device/canon_300d_raw_linear_50mm_1_8.h

raw symbols SCIP
1 // Copyright 2003, 2004 David Hilvert <[email protected]>,
2 // <[email protected]>
3
4 /* This file is part of the Anti-Lamenessing Engine.
5
6 The Anti-Lamenessing Engine is free software; you can redistribute it
7 and/or modify it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 3 of the License,
9 or (at your option) any later version.
10
11 The Anti-Lamenessing Engine is distributed in the hope that it will be
12 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14 Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with the Anti-Lamenessing Engine; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef __canon_300d_raw_linear_50mm_1_8_h__
22 #define __canon_300d_raw_linear_50mm_1_8_h__
23
24 #include "../d2.h"
25
26 /*
27 * Extend the Canon 300D (Digital Rebel) device with an EF 50mm f/1.8 lens.
28 */
29
30 class canon_300d_raw_linear_50mm_1_8 : public canon_300d_raw_linear {
31 public:
32 /*
33 * View Angle
34 *
35 * According to:
36 *
37 * http://www.acapixus.dk/photography/angle_of_view.htm
38 */
39
40 static ale_pos view_angle() {
41 return 31 * M_PI / 180;
42 }
43 };
44
45 #endif