Yes, and the cast shadow is also calculated with vector math.