Browse Source

python: fix normalized signed VertexFormat enum values.

Haha :/
next
Vladimír Vondruš 3 years ago
parent
commit
619b8a51bf
  1. 6
      src/python/magnum/magnum.cpp

6
src/python/magnum/magnum.cpp

@ -690,7 +690,7 @@ void magnum(py::module_& m) {
.value("VECTOR2US", VertexFormat::Vector2us)
.value("VECTOR2US_NORMALIZED", VertexFormat::Vector2usNormalized)
.value("VECTOR2S", VertexFormat::Vector2s)
.value("VECTOR2S_NORMALIZED", VertexFormat::Vector2usNormalized)
.value("VECTOR2S_NORMALIZED", VertexFormat::Vector2sNormalized)
.value("VECTOR2UI", VertexFormat::Vector2ui)
.value("VECTOR2I", VertexFormat::Vector2i)
.value("VECTOR3", VertexFormat::Vector3)
@ -703,7 +703,7 @@ void magnum(py::module_& m) {
.value("VECTOR3US", VertexFormat::Vector3us)
.value("VECTOR3US_NORMALIZED", VertexFormat::Vector3usNormalized)
.value("VECTOR3S", VertexFormat::Vector3s)
.value("VECTOR3S_NORMALIZED", VertexFormat::Vector3usNormalized)
.value("VECTOR3S_NORMALIZED", VertexFormat::Vector3sNormalized)
.value("VECTOR3UI", VertexFormat::Vector3ui)
.value("VECTOR3I", VertexFormat::Vector3i)
.value("VECTOR4", VertexFormat::Vector4)
@ -716,7 +716,7 @@ void magnum(py::module_& m) {
.value("VECTOR4US", VertexFormat::Vector4us)
.value("VECTOR4US_NORMALIZED", VertexFormat::Vector4usNormalized)
.value("VECTOR4S", VertexFormat::Vector4s)
.value("VECTOR4S_NORMALIZED", VertexFormat::Vector4usNormalized)
.value("VECTOR4S_NORMALIZED", VertexFormat::Vector4sNormalized)
.value("VECTOR4UI", VertexFormat::Vector4ui)
.value("VECTOR4I", VertexFormat::Vector4i)
.value("MATRIX2X2", VertexFormat::Matrix2x2)

Loading…
Cancel
Save