Skip to content
  • Oliver Sander's avatar
    Guard against misuse of AxisAlignedCubeGeometry constructor · 4546b4bd
    Oliver Sander authored
    The AxisAlignedCubeGeometry has always had a constructor that was always
    intended to be used with dim==coorddim only.  However, this precondition
    was never checked anywhere, which could lead to strange bugs.
    This patch introduces a static_assert that fails at compile time
    if the dim==coorddim precondition is not met.
    
    BUG: #25
    4546b4bd
To find the state of this project's repository at the time of any of these versions, check out the tags.