2
// Copyright (C) 1997 - 2001, Paul C. Gregory
4
// Contact: pgregory@aqsis.org
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.
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.
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
22
* \brief Forward declarations for short-vector types.
24
* \author Chris Foster [ chris42f (at) gmail (dot) com ]
27
#ifndef VECFWD_H_INCLUDED
28
#define VECFWD_H_INCLUDED
38
// forward declarations of vector classes.
39
template<typename StoreT> class CqBasicVec3;
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;
46
/// Typedef for backward compatibility
47
typedef CqVec3 CqVector3D;
50
// forward decls for colors
51
template<typename StoreT> class CqBasicColor;
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;
61
#endif // VECFWD_H_INCLUDED