Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Appendix A. C++ Vector Library

Appendix A. C++ Vector Library

A decent vector library is useful in any 3D graphics application but doubly so when you’re using OpenGL ES 2.0, since it doesn’t provide functions for matrix math on its own. Review Section 2.8 for an overview of the library listed in this appendix. In brief, it’s template-based C++, and it’s composed solely of three simple header files. The library defines a set of types that are named after GLSL’s vector types.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial