Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Sep 11, 2023
1 parent 6a9add8 commit fa6eb3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ashura/include/ashura/primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ struct Rect

struct Vec3
{
f32 x = 0, y = 0, z = 0, __padding__;
f32 x = 0, y = 0, z = 0, __padding__ = 0;

static constexpr Vec3 splat(f32 v)
{
Expand Down Expand Up @@ -1182,14 +1182,14 @@ struct URect
Offset offset;
Extent extent;

constexpr ash::Offset min() const
constexpr Offset min() const
{
return this->offset;
return offset;
}

constexpr ash::Offset max() const
constexpr Offset max() const
{
return this->offset + extent;
return offset + extent;
}
};

Expand Down

0 comments on commit fa6eb3f

Please sign in to comment.