From 3a5a0e7b42d34baa238895f9e4d86cfd902ace7d Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Sat, 23 Dec 2017 00:51:44 +0000 Subject: [Travis] Rebuilding documentation --- sprite_8h_source.html | 177 -------------------------------------------------- 1 file changed, 177 deletions(-) delete mode 100644 sprite_8h_source.html (limited to 'sprite_8h_source.html') diff --git a/sprite_8h_source.html b/sprite_8h_source.html deleted file mode 100644 index aeb39b9c..00000000 --- a/sprite_8h_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -YAGE: yage/core/sprite.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
YAGE -  v0.1.3 -
-
Yet Another Game Engine
-
-
- - - - - -
-
- -
-
-
- -
- -
- All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
- - -
- -
- -
-
-
sprite.h
-
-
-Go to the documentation of this file.
1 
-
12 #ifndef SPRITE_H
-
13 #define SPRITE_H
-
14 
-
15 #include "texture.h"
-
16 
-
17 #include <glad/glad.h>
-
18 
-
19 #include <string>
-
20 
-
21 namespace yage
-
22 {
-
23 
-
26 class Sprite
-
27 {
-
28 private:
-
29  float x_;
-
30  float y_;
-
31  float width_;
-
32  float height_;
-
33  GLuint vbo_id_ = 0;
- -
35 
-
36 public:
-
37  Sprite() = default;
-
38  Sprite(const Sprite &) = delete;
-
39  Sprite(Sprite &&) = delete;
-
40  ~Sprite();
-
41 
-
42  Sprite &operator=(const Sprite &) = delete;
-
43  Sprite &operator=(Sprite &&) = delete;
-
44 
-
45  void init(float x, float y, float width, float height,
-
46  const std::string &texture_path);
-
47  void draw();
-
48 };
-
49 
-
50 } // namespace yage
-
51 
-
52 #endif
-
Sprite()=default
- -
void draw()
Definition: sprite.cpp:71
-
Texture texture_
Definition: sprite.h:34
-
GLuint vbo_id_
Definition: sprite.h:33
-
float width_
Definition: sprite.h:31
-
void init(float x, float y, float width, float height, const std::string &texture_path)
Definition: sprite.cpp:25
-
Definition: texture.h:17
-
float x_
Definition: sprite.h:29
-
~Sprite()
Definition: sprite.cpp:18
-
float y_
Definition: sprite.h:30
-
Sprite & operator=(const Sprite &)=delete
-
float height_
Definition: sprite.h:32
-
Definition: sprite.h:26
-
-
- - - - -- cgit