the idea is whether he would have done it if the guy was heterosexual. One element of the crime was establishing that he hated homosexuals and thus did it to humiliate the roommate, who was homosexual
—One element of the crime was establishing that he hated homosexuals and thus did it to humiliate the roommate, who was homosexual—
It is not against the law to humiliate a person.