summaryrefslogtreecommitdiff
path: root/gles3_builders.py
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-04-24 16:59:24 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-04-29 08:02:39 -0500
commitb831fb0a540bee165d46c1c229f2ec4569c88461 (patch)
tree87110f1b711f153d435e05a7658dec15d18efd90 /gles3_builders.py
parent81139c94a8b1fd0ea29cb64627f4b8dc0962a5b7 (diff)
Rename Transform2D "elements" to "columns"
Diffstat (limited to 'gles3_builders.py')
-rw-r--r--gles3_builders.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gles3_builders.py b/gles3_builders.py
index 15446d345f..3211e65d07 100644
--- a/gles3_builders.py
+++ b/gles3_builders.py
@@ -410,20 +410,20 @@ def build_gles3_header(filename, include, class_suffix, output_attribs):
const Transform2D &tr = p_transform;
GLfloat matrix[16]={ /* build a 16x16 matrix */
- (GLfloat)tr.elements[0][0],
- (GLfloat)tr.elements[0][1],
+ (GLfloat)tr.columns[0][0],
+ (GLfloat)tr.columns[0][1],
(GLfloat)0,
(GLfloat)0,
- (GLfloat)tr.elements[1][0],
- (GLfloat)tr.elements[1][1],
+ (GLfloat)tr.columns[1][0],
+ (GLfloat)tr.columns[1][1],
(GLfloat)0,
(GLfloat)0,
(GLfloat)0,
(GLfloat)0,
(GLfloat)1,
(GLfloat)0,
- (GLfloat)tr.elements[2][0],
- (GLfloat)tr.elements[2][1],
+ (GLfloat)tr.columns[2][0],
+ (GLfloat)tr.columns[2][1],
(GLfloat)0,
(GLfloat)1
};