god working with quaternions was hard since i'm a retard