Skip to content

Commit

Permalink
Tests: Print the size of the Vector component
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 25, 2012
1 parent 53d8c82 commit 53bc930
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/tests/vectors/main.cpp
Expand Up @@ -33,6 +33,7 @@ int main(int, char**)
// buffer) is available.

qDebug() << "Sizeof Vector2f:" << sizeof(a);
qDebug() << "Sizeof Vector2f.x:" << sizeof(a.x);
qDebug() << "Sizeof Vector3f:" << sizeof(b);

qDebug() << "Direct access to members:";
Expand Down

0 comments on commit 53bc930

Please sign in to comment.