move sprite and pad into sb namespace

This commit is contained in:
ohsqueezy 2023-07-15 12:19:37 -04:00
parent 7bbc0f851d
commit d1fe6b927c
2 changed files with 481 additions and 475 deletions

View File

@ -16,6 +16,8 @@
#include "Switch.hpp"
#include "math.hpp"
namespace sb
{
/*!
* A Pad is an object containing an sb::Plane which can be clicked to launch an arbitrary user function. It can be sized and placed by setting its
* translation and scale values.
@ -239,3 +241,4 @@ public:
return plane.size();
}
};
}

View File

@ -16,6 +16,8 @@
#include "filesystem.hpp"
#include "Model.hpp"
namespace sb
{
/*!
* A Sprite is a container for an sb::Plane object that resets and stores scale, translation, and rotation matrices every time they are set
* and combines them automatically when getting the full transformation. This allows those transformations to be set repeatedly without having
@ -298,3 +300,4 @@ public:
return plane.size();
}
};
}