Updated documentation
This commit is contained in:
parent
7abd610258
commit
0611493afd
|
@ -12,6 +12,11 @@
|
||||||
|
|
||||||
namespace sdlu
|
namespace sdlu
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* A class that combines the SDL_Window and SDL_Renderer and
|
||||||
|
* behaves similar to the sf::RenderWindow from SFML. It provides
|
||||||
|
* utility and wrappers for common operations on those objects.
|
||||||
|
*/
|
||||||
class RenderWindow
|
class RenderWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -46,7 +51,7 @@ namespace sdlu
|
||||||
Uint32 windowFlags, Uint32 rendererFlags);
|
Uint32 windowFlags, Uint32 rendererFlags);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SDL_Window* m_pWindow;
|
SDL_Window* m_pWindow; ///< A pointer to the window object
|
||||||
SDL_Renderer* m_pRenderer;
|
SDL_Renderer* m_pRenderer; ///< A pointer to the renderer object
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -9,6 +9,11 @@
|
||||||
|
|
||||||
namespace sdlu
|
namespace sdlu
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* A struct to handle basic 2D vector operations.
|
||||||
|
*
|
||||||
|
* @tparam T The (arithmetical) type of the vector components
|
||||||
|
*/
|
||||||
template<
|
template<
|
||||||
typename T,
|
typename T,
|
||||||
typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type
|
typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type
|
||||||
|
|
Loading…
Reference in a new issue