Change Signature: Avoid creating parameters from scratch

#KT-15519 Fixed
This commit is contained in:
Alexey Sedunov
2017-04-18 17:49:03 +03:00
parent c305a42128
commit b80fbe1192
11 changed files with 117 additions and 36 deletions
@@ -0,0 +1,7 @@
data class <caret>VertexAttribute(
/**
* The number of components this attribute has.
**/
val numComponents: Int
) {}
@@ -0,0 +1,13 @@
data class <caret>VertexAttribute(
/**
* The number of components this attribute has.
**/
val numComponents: Int,
/**
* If true and [type] is not [Gl20.FLOAT], the data will be mapped to the range -1 to 1 for signed types and
* the range 0 to 1 for unsigned types.
*/
val normalized: Boolean
) {}