+function camera:update(yaw, pitch)
+ yaw, pitch = math.rad(yaw), math.rad(glm.clamp(pitch, -89.0, 89.0))
+ self.front = glm.vec3(math.cos(yaw)*math.cos(pitch), math.sin(pitch), math.sin(yaw)*math.cos(pitch)):normalize()
+ --self.front = glm.vec3(math.cos(yaw), math.sin(pitch), math.sin(yaw)):normalize()
+ self.right = (self.front % self.world_up):normalize()
+ self.up = (self.right % self.front):normalize()
+end
+