These would be vector and matrix instances that contain a reference to a ByteBuffer and a byte offset. All operations would then effectively take place on a vector or matrix instance packed into the buffer.
The implementation is very easy, but the API needs to be designed and made consistent with the rest of the package.
These would be vector and matrix instances that contain a reference to a
ByteBuffer
and a byte offset. All operations would then effectively take place on a vector or matrix instance packed into the buffer.The implementation is very easy, but the API needs to be designed and made consistent with the rest of the package.