From 8660e7be170ff5797997f2e6219a9af5b29daa92 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 31 Dec 2020 12:45:15 +1100 Subject: [PATCH] docs: fix simple typo, obtian -> obtain There is a small typo in pycraft/shader.py. Should read `obtain` rather than `obtian`. --- pycraft/shader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycraft/shader.py b/pycraft/shader.py index a4a61a4..091026e 100644 --- a/pycraft/shader.py +++ b/pycraft/shader.py @@ -139,7 +139,7 @@ def uniformi(self, name, *vals): # works with matrices stored as lists, # as well as euclid matrices def uniform_matrixf(self, name, mat): - # obtian the uniform location + # obtain the uniform location loc = glGetUniformLocation(self.handle, name) # uplaod the 4x4 floating point matrix glUniformMatrix4fv(loc, 1, False, (c_float * 16)(*mat))