McGee also provided eight rebounds and three blocks while Danilo hauled down seven boards for the Nuggets, who continued their post-season tune-up with a sixth win in eight games.
Denver holds the sixth seed in the Western Conference with two games remaining.
Orlando, meanwhile, needs one more victory to secure the East's sixth position.
Ryan Anderson led the Magic with 24 points and nine rebounds.
Celebrity Breakups and divorces of 2014 [PHOTOS]