Well, they blur, right? Especially with Daesh and their eradication of Shia, Kurds, or anybody who doesn't adhere to their narrowly defined codes of Sunni beliefs.
But I see terrorism as typically a desperation tactic played out to achieve some strategic goal -- whether that be to wedge a wall of support between Islam in the West, getting the West out of the Middle East, creating a breakaway republic in the Philippines or Spain, etc. I liken it more to the Italian "avere" transitive verb form, as a means to an ends.
Hate crimes are more about wanting to kill and maim as many people as you can ascribe to a target group. It doesn't start or stop with strategic aims unless that's eradication of a population. I liken it more to the "essere" intransitive verb form, as a state of existence or being. It is the ends in itself.
There's tons of flaws there, but it's a rough split that I mentally make.
There's more to learn, but it seems pretty clear at this stage that the guy didn't need religion or ISIS to teach him to hate gays. He was already there. The rest are the deranged actions of someone hell-bent on suicide who found it conveniently grandiose to drape his actions in affinity to convenient broader causes that extend beyond his own loner suicide.
The guy may have shown skills and training. But if I had a terrorist agenda, I certainly wouldn't be raiding a club at 2am when 90% of America is asleep, the news cycle shifted to the next morning, and half the patrons left not long before last call.