From 26deb4ad8f59c0ec7b5d128e5e68363865b2d237 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 24 May 2019 19:39:03 +0300 Subject: [PATCH] Add numberless versions of vertex array statements This should have accompanied 6ee541f, which changed the exporter to use those keywords. --- source/vertexarray.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/source/vertexarray.cpp b/source/vertexarray.cpp index 5674bbe0..0ebd4f0f 100644 --- a/source/vertexarray.cpp +++ b/source/vertexarray.cpp @@ -252,6 +252,27 @@ VertexArray::Array::Array(): VertexArray::Loader::Loader(VertexArray &a): VertexArrayBuilder(a) { + add("vertex", static_cast(&Loader::vertex)); + add("vertex", static_cast(&Loader::vertex)); + add("vertex", static_cast(&Loader::vertex)); + add("normal", static_cast(&Loader::normal)); + add("texcoord", static_cast(&Loader::texcoord)); + add("texcoord", static_cast(&Loader::texcoord)); + add("texcoord", static_cast(&Loader::texcoord)); + add("texcoord", static_cast(&Loader::texcoord)); + add("multitexcoord", static_cast(&Loader::multitexcoord)); + add("multitexcoord", static_cast(&Loader::multitexcoord)); + add("multitexcoord", static_cast(&Loader::multitexcoord)); + add("multitexcoord", static_cast(&Loader::multitexcoord)); + add("color", static_cast(&Loader::color)); + add("color", static_cast(&Loader::color)); + add("attrib", static_cast(&Loader::attrib)); + add("attrib", static_cast(&Loader::attrib)); + add("attrib", static_cast(&Loader::attrib)); + add("attrib", static_cast(&Loader::attrib)); + add("tangent", static_cast(&Loader::tangent)); + add("binormal", static_cast(&Loader::binormal)); + add("vertex2", static_cast(&Loader::vertex)); add("vertex3", static_cast(&Loader::vertex)); add("vertex4", static_cast(&Loader::vertex)); -- 2.45.2