|
|
|
|
/*
|
|
|
|
|
This file is part of Magnum.
|
|
|
|
|
|
|
|
|
|
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
|
|
|
|
|
2020, 2021, 2022, 2023 Vladimír Vondruš <mosra@centrum.cz>
|
|
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
copy of this software and associated documentation files (the "Software"),
|
|
|
|
|
to deal in the Software without restriction, including without limitation
|
|
|
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included
|
|
|
|
|
in all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
|
DEALINGS IN THE SOFTWARE.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Each entry is just the name, for debug output and configuration to string */
|
|
|
|
|
#ifdef _c
|
|
|
|
|
_c(Float)
|
|
|
|
|
_c(Half)
|
|
|
|
|
_c(Double)
|
|
|
|
|
_c(UnsignedByte)
|
|
|
|
|
_c(UnsignedByteNormalized)
|
|
|
|
|
_c(Byte)
|
|
|
|
|
_c(ByteNormalized)
|
|
|
|
|
_c(UnsignedShort)
|
|
|
|
|
_c(UnsignedShortNormalized)
|
|
|
|
|
_c(Short)
|
|
|
|
|
_c(ShortNormalized)
|
|
|
|
|
_c(UnsignedInt)
|
|
|
|
|
_c(Int)
|
|
|
|
|
_c(Vector2)
|
|
|
|
|
_c(Vector2h)
|
|
|
|
|
_c(Vector2d)
|
|
|
|
|
_c(Vector2ub)
|
|
|
|
|
_c(Vector2ubNormalized)
|
|
|
|
|
_c(Vector2b)
|
|
|
|
|
_c(Vector2bNormalized)
|
|
|
|
|
_c(Vector2us)
|
|
|
|
|
_c(Vector2usNormalized)
|
|
|
|
|
_c(Vector2s)
|
|
|
|
|
_c(Vector2sNormalized)
|
|
|
|
|
_c(Vector2ui)
|
|
|
|
|
_c(Vector2i)
|
|
|
|
|
_c(Vector3)
|
|
|
|
|
_c(Vector3h)
|
|
|
|
|
_c(Vector3d)
|
|
|
|
|
_c(Vector3ub)
|
|
|
|
|
_c(Vector3ubNormalized)
|
|
|
|
|
_c(Vector3b)
|
|
|
|
|
_c(Vector3bNormalized)
|
|
|
|
|
_c(Vector3us)
|
|
|
|
|
_c(Vector3usNormalized)
|
|
|
|
|
_c(Vector3s)
|
|
|
|
|
_c(Vector3sNormalized)
|
|
|
|
|
_c(Vector3ui)
|
|
|
|
|
_c(Vector3i)
|
|
|
|
|
_c(Vector4)
|
|
|
|
|
_c(Vector4h)
|
|
|
|
|
_c(Vector4d)
|
|
|
|
|
_c(Vector4ub)
|
|
|
|
|
_c(Vector4ubNormalized)
|
|
|
|
|
_c(Vector4b)
|
|
|
|
|
_c(Vector4bNormalized)
|
|
|
|
|
_c(Vector4us)
|
|
|
|
|
_c(Vector4usNormalized)
|
|
|
|
|
_c(Vector4s)
|
|
|
|
|
_c(Vector4sNormalized)
|
|
|
|
|
_c(Vector4ui)
|
|
|
|
|
_c(Vector4i)
|
|
|
|
|
_c(Matrix2x2)
|
|
|
|
|
_c(Matrix2x2h)
|
|
|
|
|
_c(Matrix2x2d)
|
|
|
|
|
_c(Matrix2x2bNormalized)
|
|
|
|
|
_c(Matrix2x2sNormalized)
|
|
|
|
|
_c(Matrix2x3)
|
|
|
|
|
_c(Matrix2x3h)
|
|
|
|
|
_c(Matrix2x3d)
|
|
|
|
|
_c(Matrix2x3bNormalized)
|
|
|
|
|
_c(Matrix2x3sNormalized)
|
|
|
|
|
_c(Matrix2x4)
|
|
|
|
|
_c(Matrix2x4h)
|
|
|
|
|
_c(Matrix2x4d)
|
|
|
|
|
_c(Matrix2x4bNormalized)
|
|
|
|
|
_c(Matrix2x4sNormalized)
|
|
|
|
|
_c(Matrix2x2bNormalizedAligned)
|
|
|
|
|
_c(Matrix2x3hAligned)
|
|
|
|
|
_c(Matrix2x3bNormalizedAligned)
|
|
|
|
|
_c(Matrix2x3sNormalizedAligned)
|
|
|
|
|
_c(Matrix3x2)
|
|
|
|
|
_c(Matrix3x2h)
|
|
|
|
|
_c(Matrix3x2d)
|
|
|
|
|
_c(Matrix3x2bNormalized)
|
|
|
|
|
_c(Matrix3x2sNormalized)
|
|
|
|
|
_c(Matrix3x3)
|
|
|
|
|
_c(Matrix3x3h)
|
|
|
|
|
_c(Matrix3x3d)
|
|
|
|
|
_c(Matrix3x3bNormalized)
|
|
|
|
|
_c(Matrix3x3sNormalized)
|
|
|
|
|
_c(Matrix3x4)
|
|
|
|
|
_c(Matrix3x4h)
|
|
|
|
|
_c(Matrix3x4d)
|
|
|
|
|
_c(Matrix3x4bNormalized)
|
|
|
|
|
_c(Matrix3x4sNormalized)
|
|
|
|
|
_c(Matrix3x2bNormalizedAligned)
|
|
|
|
|
_c(Matrix3x3hAligned)
|
|
|
|
|
_c(Matrix3x3bNormalizedAligned)
|
|
|
|
|
_c(Matrix3x3sNormalizedAligned)
|
|
|
|
|
_c(Matrix4x2)
|
|
|
|
|
_c(Matrix4x2h)
|
|
|
|
|
_c(Matrix4x2d)
|
|
|
|
|
_c(Matrix4x2bNormalized)
|
|
|
|
|
_c(Matrix4x2sNormalized)
|
|
|
|
|
_c(Matrix4x3)
|
|
|
|
|
_c(Matrix4x3h)
|
|
|
|
|
_c(Matrix4x3d)
|
|
|
|
|
_c(Matrix4x3bNormalized)
|
|
|
|
|
_c(Matrix4x3sNormalized)
|
|
|
|
|
_c(Matrix4x4)
|
|
|
|
|
_c(Matrix4x4h)
|
|
|
|
|
_c(Matrix4x4d)
|
|
|
|
|
_c(Matrix4x4bNormalized)
|
|
|
|
|
_c(Matrix4x4sNormalized)
|
|
|
|
|
_c(Matrix4x2bNormalizedAligned)
|
|
|
|
|
_c(Matrix4x3hAligned)
|
|
|
|
|
_c(Matrix4x3bNormalizedAligned)
|
|
|
|
|
_c(Matrix4x3sNormalizedAligned)
|
|
|
|
|
#endif
|