How do you rotate the intire render, make the whole screen rotate?
Right now I have found out that if you modify the self.view you can get some intresting results,
local a = os.clock()
local cos = math.cos(a)
local sin = math.sin(a)
self.view = vmath.matrix4_look_at(
vmath.vector3(1,0,0),
vmath.vector3(0,cos,-sin),
vmath.vector3(0, sin, cos)
)
but I want to rotate it on the Z axis and I don’t really know how to do it.