A descent is a negative
climb and the greater the drag the steeper the descent angle.
For your formula and
subsequent transposition the starting point is;
D-T/W = SIN Gamma . (Officially gamma describes flight path inclination)
However I'm happy that we can substitute it for THETA.
After the transposition we get
D = T+WSIN GAMMA