I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.
At the moment I do not generate any normals for these shapes. Is there a general purpose method of generating face normals and per vertex normals for an arbitrary mesh? (I'd imagine you would need face normals to generate per vertex normals?)