move sprite and pad into sb namespace
This commit is contained in:
parent
7bbc0f851d
commit
d1fe6b927c
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue