Drawing circles and up direction vectors


I’ve been trying to figure out how draw a circle that is projected against the plane defined by an Up direction vector. It seems like a simple concept, but I keep getting brain-freeze when I try to develop it in code.

Does anybody have a snippet of code or even a link that could help?

Thanks a lot…


Hi !

Just draw the circle in 2D and then rotate it the way you want it.