fix the can_render function and add in view/projection matrix code