The San Marcos Royals boys basketball team defeated Santa Barbara at the ThunderHut on Tuesday evening.