I don't think this needs to be a typedef: enum ModelType { HEAD, SKELETON }