Update n2DLib.cpp

Rects arguments in sprite drawing functions -> Rect*

Verified malloc in drawPoly