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 for Game Programmers: Linear Algebra Upgraded


In this talk, Eric Lengyel discusses some oft-ignored nuances of linear algebra in games, including vector/antivector disambiguation and row/column storage and multiplication issues. He will also show how to upgrade your C++ math library with some nice tricks, such as affording swizzle notation ala shading languages (e.g. vec.xy *= scale) and allowing matrix rows to behave as vectors even under column-major storage.

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

  • GDC 2018
  • Eric Lengyel
  • Terathon Software
  • free content
  • Programming
  • Programming