You've been logged out of GDC Vault since the maximum users allowed for this account has been reached. To access Members Only content on GDC Vault, please log out of GDC Vault from the computer which last accessed this account.

Click here to find out about GDC Vault Membership options for more users.


The Number One Educational Resource for the Game Industry

Session Name:

Math in Game Development Summit: Quaternions to Homogeneous Points, Lines, and Planes


Points, Lines, and Planes are the basic geometric objects that games are programmed with. In "A Visual Guide to Quaternions and Dual Quaternions", we learned how to get rotations from lines. This talk is a sequel to that: we'll see how to intersect planes and lines to get lines and points; how to get transforms taking us from planes to points and lines; how to measure the distance between any plane, line, or point and any plane, line or point; how to do the same with angles; how to project these objects onto each other; and more.All of these can be done in a single line of code, and in a way that is visually intuitive and "coordinate free", meaning that we never have to worry about where we are relative to our origin or our axes. A single mathematical system enables all of this: Euclidean Plane-Based Geometric Algebra (a subset of the larger system described by Eric Lengyel in other GDC talks).

Did you know free users get access to 30% of content from the last 2 years?

Get your team full access to the most up to date GDC content

  • Game Developers Conference 2023
  • Hamish Todd
  • Imagination Technologies
  • free content
  • Math In Game Development Summit
  • Programming