Removed getWidth(), getHeight(), getDepth() and width(), height(), depth() remain deprecated. These functions seem ambiguous, so users have to calculate these values themselves when they want them.
This commit is contained in:
@ -35,8 +35,7 @@ void TestArray::testReadWrite()
|
||||
int height = 10;
|
||||
int depth = 20;
|
||||
|
||||
uint32_t dimensions[3] = {width, height, depth}; // Array dimensions
|
||||
Array<3, int> myArray(dimensions);
|
||||
Array<3, int> myArray(ArraySizes(width)(height)(depth));
|
||||
|
||||
int ct = 1;
|
||||
int expectedTotal = 0;
|
||||
|
Reference in New Issue
Block a user