from demosys.test.testcase import DemosysTestCase
from demosys.opengl.projection import Projection


class ProjectionTest(DemosysTestCase):

    def test_create(self):
        proj = Projection(fov=60, near=0.1, far=10)
        proj.update(fov=75, near=1, far=100)
        proj.tobytes()
        proj.projection_constants
