d2::align: Change allocation and deallocation of LOD structures so that 0-level certa...
[Ale.git] / device / canon_300d_raw_linear_50mm_1_8.h
blob700175e4607ffd9ef508e8eed1423618a83074d9
1 // Copyright 2003, 2004 David Hilvert <dhilvert@auricle.dyndns.org>,
2 // <dhilvert@ugcs.caltech.edu>
4 /* This file is part of the Anti-Lamenessing Engine.
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.
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.
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
21 #ifndef __canon_300d_raw_linear_50mm_1_8_h__
22 #define __canon_300d_raw_linear_50mm_1_8_h__
24 #include "../d2.h"
27 * Extend the Canon 300D (Digital Rebel) device with an EF 50mm f/1.8 lens.
30 class canon_300d_raw_linear_50mm_1_8 : public canon_300d_raw_linear {
31 public:
33 * View Angle
35 * According to:
37 * http://www.acapixus.dk/photography/angle_of_view.htm
40 static ale_pos view_angle() {
41 return 31 * M_PI / 180;
45 #endif