Commit 07f89ff3 authored by Philip Trettner's avatar Philip Trettner

fixed glm remnants

parent 79f278f3
...@@ -59,14 +59,14 @@ GLOW_SHARED(class, ArrayBuffer); ...@@ -59,14 +59,14 @@ GLOW_SHARED(class, ArrayBuffer);
* (Automatically uses an appropriate AttributeMode! Float for floats, Integer for ints, Double for doubles, * (Automatically uses an appropriate AttributeMode! Float for floats, Integer for ints, Double for doubles,
* NormalizedInteger is not supported) * NormalizedInteger is not supported)
* *
* ab->defineAttribute<glm::vec3>( "aPosition" ); * ab->defineAttribute<tg::pos3>( "aPosition" );
* *
* Convenience #2: (Automatically uses an appropriate AttributeMode! Float for floats, Integer for ints, Double for * Convenience #2: (Automatically uses an appropriate AttributeMode! Float for floats, Integer for ints, Double for
* doubles, NormalizedInteger is not supported) * doubles, NormalizedInteger is not supported)
* *
* struct MyVertex { * struct MyVertex {
* glm::vec3 aPosition; * tg::pos3 aPosition;
* glm::vec2 texCoord; * tg::pos2 texCoord;
* }; * };
* *
* ab->defineAttribute(&MyVertex::aPosition, "aPosition"); * ab->defineAttribute(&MyVertex::aPosition, "aPosition");
......
...@@ -189,7 +189,7 @@ public: // gl functions without use ...@@ -189,7 +189,7 @@ public: // gl functions without use
/// If you get linker errors, the type is not supported /// If you get linker errors, the type is not supported
/// Returns default-constructed values for optimized uniforms /// Returns default-constructed values for optimized uniforms
/// Usage: /// Usage:
/// auto pos = prog->getUniform<glm::vec3>("uPosition"); /// auto pos = prog->getUniform<tg::pos3>("uPosition");
/// ///
/// LIMITATIONS: /// LIMITATIONS:
/// currently doesn't work for arrays/structs /// currently doesn't work for arrays/structs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment