Registered Member
|
gives a compiler error:
Obviously I can fix this with:
But the lack of a 0-argument constructor makes it tedious to include Rotation2D objects in stl containers or classes. Was there a good reason for not including such a constructor? |
Moderator
|
No good reason, it's just that its primary purpose is to create 2D rotation matrices from a given angle, and not to be actually stored.
Fixed in default and 3.2 branches. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]