Not long ago I found myself with the necessity of a Line class where I could compute the relative position of two lines and get the intersection point (if any). I’ve used C# to code this as I was using it at work when I needed this class, but should be easily portable to other languages like Java or C++.
Hi there everyone!
This is my personal blog, where i’ll be talking about (mostly) game programming which is my job and passion. There will be entries not dedicated to game programming directly, but with subjects necessary to it, like general programming, math (don’t be afraid yet!) and physics.
See you in the next post!