~ubuntu-branches/ubuntu/quantal/aqsis/quantal

« back to all changes in this revision

Viewing changes to include/aqsis/math/vecfwd.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-08-06 04:53:26 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806045326-z6xeaaao62idxcc6
Tags: 1.6.0-0ubuntu1
* New upstream release
* debian/control:
  - changed name of lib package to libaqsis1 instead of aqsis-libsc2a
  - changed name of dev package to libaqsis-dev instead of aqsis-libs-dev
  - Added aqsis-data package
  - Revised summary text according to that specified by the RISpec (Pixar)
* Moved examples installation from aqsis.install to aqsis-data.install
* debian/rules: 
  - added content to binary-indep target
* debian/rules: added explicit name of mime file to force dh_installmime
  to generate postinst and prerm scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Aqsis
 
2
// Copyright (C) 1997 - 2001, Paul C. Gregory
 
3
//
 
4
// Contact: pgregory@aqsis.org
 
5
//
 
6
// This library is free software; you can redistribute it and/or
 
7
// modify it under the terms of the GNU General Public
 
8
// License as published by the Free Software Foundation; either
 
9
// version 2 of the License, or (at your option) any later version.
 
10
//
 
11
// This library is distributed in the hope that it will be useful,
 
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
// General Public License for more details.
 
15
//
 
16
// You should have received a copy of the GNU General Public
 
17
// License along with this library; if not, write to the Free Software
 
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
19
 
 
20
/** \file
 
21
 *
 
22
 * \brief Forward declarations for short-vector types.
 
23
 *
 
24
 * \author Chris Foster [ chris42f (at) gmail (dot) com ]
 
25
 */
 
26
 
 
27
#ifndef VECFWD_H_INCLUDED
 
28
#define VECFWD_H_INCLUDED
 
29
 
 
30
namespace Aqsis
 
31
{
 
32
 
 
33
// storage policies
 
34
class CqVec3Data;
 
35
class CqVecRefData;
 
36
 
 
37
 
 
38
// forward declarations of vector classes.
 
39
template<typename StoreT> class CqBasicVec3;
 
40
 
 
41
/// A 3D vector which owns its data storage
 
42
typedef CqBasicVec3<CqVec3Data> CqVec3;
 
43
/// A 3D vector which holds a reference to external data storage
 
44
typedef CqBasicVec3<CqVecRefData> CqRefVec3;
 
45
 
 
46
/// Typedef for backward compatibility
 
47
typedef CqVec3 CqVector3D;
 
48
 
 
49
 
 
50
// forward decls for colors
 
51
template<typename StoreT> class CqBasicColor;
 
52
 
 
53
/// A 3D color which owns its data storage
 
54
typedef CqBasicColor<CqVec3Data> CqColor;
 
55
/// A 3D color which holds a reference to external data storage
 
56
typedef CqBasicColor<CqVecRefData> CqRefColor;
 
57
 
 
58
 
 
59
} // namespace Aqsis
 
60
 
 
61
#endif // VECFWD_H_INCLUDED