public void draw(Graphics g, int width, int height) {
        //TODO optimize - build vector of objs in FOV, need only draw these
        cameraMan.setMatrix();

        obj3dManager.sortObjects();
        for (ObjectLayer layer : obj3dManager.layers) {
            for (Object3d object : layer) {
                object.film(cameraMan);
                object.draw(g);
            }
        }

        //Text
        if (textMessage != null) {
            Font font = new Font("SansSerif", Font.PLAIN, 10);
            g.setFont(font);
            g.setColor(Color.LIGHT_GRAY);

            String s;
            if (!clock.paused) {
                s = textMessage;
            } else {
                s = textMessage + " [ paused ]";
            }
            g.drawString(s, 15, height - 15);
        }

        if (compass != null)
            compass.draw(g);

        if (slider != null)
            slider.draw(g);
    }