Removed physics for now.

This commit is contained in:
2023-11-12 23:29:52 -06:00
parent ba185e9fe4
commit dba5aa36c5
58 changed files with 101 additions and 1569 deletions

View File

@ -71,5 +71,12 @@ namespace Dawn {
* Perform a synchronous frame update on the render manager.
*/
virtual void update() = 0;
/**
* Clean up the render manager.
*/
virtual ~IRenderManager() {
}
};
}

View File

@ -77,10 +77,10 @@ namespace Dawn {
* @param dataFormat Data format of the texture to use.
*/
virtual void setSize(
int32_t width,
int32_t height,
enum TextureFormat format,
enum TextureDataFormat dataFormat
const int32_t width,
const int32_t height,
const enum TextureFormat format,
const enum TextureDataFormat dataFormat
) = 0;
/**
@ -88,8 +88,8 @@ namespace Dawn {
*
* @param color Color to fill.
*/
virtual void fill(struct Color) = 0;
virtual void fill(uint8_t) = 0;
virtual void fill(const struct Color) = 0;
virtual void fill(const uint8_t) = 0;
/**
* Returns true only when the texture has been loaded, sized and put on
@ -106,7 +106,10 @@ namespace Dawn {
* @param pixels Array of pixels you're trying to buffer.
* @return The amount of bytes buffered to the texture.
*/
virtual void buffer(struct ColorU8 pixels[]) = 0;
virtual void buffer(uint8_t pixels[]) = 0;
virtual void buffer(const struct ColorU8 pixels[]) = 0;
virtual void buffer(const uint8_t pixels[]) = 0;
virtual ~ITexture() {
}
};
}