2015-03-06 01:46:01 +11:00
|
|
|
/*
|
2015-04-13 18:05:28 +10:00
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
2015-03-06 01:46:01 +11:00
|
|
|
*
|
2015-04-13 18:05:28 +10:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2015-03-06 01:46:01 +11:00
|
|
|
*
|
2015-04-13 18:05:28 +10:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
2015-03-06 01:46:01 +11:00
|
|
|
*
|
|
|
|
* Copyright 2015 Danny Robson <danny@nerdcruft.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UTIL_COORD_NAMES_HPP
|
|
|
|
#define __UTIL_COORD_NAMES_HPP
|
|
|
|
|
|
|
|
namespace util { namespace coord {
|
|
|
|
///////////////////////////////////////////////////////////////////////
|
|
|
|
// tags for accessor names
|
2016-08-10 17:42:52 +10:00
|
|
|
//
|
|
|
|
// colours
|
2015-03-06 01:46:01 +11:00
|
|
|
struct rgba { };
|
2015-04-09 21:50:22 +10:00
|
|
|
struct hsv { };
|
2016-08-10 17:42:52 +10:00
|
|
|
|
|
|
|
// physical positions
|
2015-03-06 01:46:01 +11:00
|
|
|
struct xyzw { };
|
2016-08-10 17:42:52 +10:00
|
|
|
|
|
|
|
// texture coords
|
2015-03-06 01:46:01 +11:00
|
|
|
struct stpq { };
|
2016-08-10 17:42:52 +10:00
|
|
|
|
|
|
|
// physical dimensions
|
2015-03-06 01:46:01 +11:00
|
|
|
struct whd { };
|
2016-08-10 17:42:52 +10:00
|
|
|
|
|
|
|
// quaternions
|
|
|
|
struct wxyz { };
|
|
|
|
struct abcd { };
|
2015-03-06 01:46:01 +11:00
|
|
|
} }
|
|
|
|
|
|
|
|
#endif
|