Make Vector accept an 'OperationType' template parameter.

Create issue
Issue #5 resolved
David Williams created an issue

The Vector class can be templatised on the element type (storage type) but sometimes it is not good to use this same type for operations. For example, we might store elements as uint_8 but wish getLengthSquared() to return uint32_t to prevent overflows.

Comments (2)

  1. Log in to comment