The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 12480

A 2D array of numbers, symbols or expressions, arranged in rows and columns. Each row must have the same number of columns. The numbers, symbols or expressions themselves are called elements or entries.

1
vote
0answers
The page at https://webglfundamentals.org/webgl/lessons/webgl-2d-matrices.html provides an example for rotating around the center of the image: // make a matrix that will move the origin of the 'F … ' to its center. var moveOriginMatrix = m3.translation(-50, -75); Similarly, the library I'm using (gl-matrix), provides an ability to rotate around an origin vector …
asked Nov 3 '17 by davidkomer
3
votes
1answer
Technically this is a webgl question though I think it's generic enough to get some opengl, erm, perspective on it too... If I setup an orthographic camera (perspective matrix) like this: mat4 … .ortho(output, 0, screenWidth, 0, screenHeight, 0, 1) And compose it with an identity matrix as the view, and then compose my model matrix with that - everything is fine and I see the items at the correct …
asked Oct 31 '17 by davidkomer