summary refs log tree commit diff
path: root/src/linear_algebra.rs
AgeCommit message (Collapse)Author
6 daysdraw the imageIrene Knapp
wow yay :) Force-Push: yes Change-Id: I7053ec3a7ed7b46e9c9d1260fd0f73b398b798af
6 daysload a texture imageIrene Knapp
also refactor buffer management a little this doesn't yet draw the texture Change-Id: Id2efa761223a588bf599041ac525c3b988f0113b Force-Push: yes
6 daysadd Transformation::look_at()Irene Knapp
now we have real camera behavior. yay! Force-Push: yes Change-Id: I291d0cce0f2624e9bff8356c8dbe2aabc49599e2
8 daysit spins!!!!Irene Knapp
ahem. more formally: provide animated uniforms to the shader, and use them the tutorial just wants us to do three matrices, and to defer all the actual math to a library it recommends. that would certainly be simpler. anyway, we use quaterion+offset for everything but the projection frustum, and do all the math ourselves Change-Id: I399f432bebb1e7ca4d4342efa1d5aaf37b32f427 Force-Push: yes
12 daysuse an index buffer now, and draw two trianglesIrene Knapp
Force-Push: yes Change-Id: I2c58bad402908fa36caf271da3cae78e43ef3110
14 daysallocate and use a vertex bufferIrene Knapp
kinda cool how the driver interfaces with the kernel to map memory on our behalf Force-Push: yes Change-Id: I906f68b59dcedc1fd6d9bfc52c9b299abc9cd828