Registered Member
|
Hello,
the Vector2d class proposes the following functions: Vector2d::z() and Vector2d::w(). When calling these functions, a runtime assertion is raised. Is there a reason to let the code compile? code would be safer if a static assertion is raised when calling e.g Vector2d::z() or Vector2d::w() V |
Moderator
|
Indeed, those could be turned into static assertions...
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft