added macros to projects; modified sample "sprite3d"
cleanup