diff options
author | chai <chaifix@163.com> | 2018-12-14 14:55:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-14 14:55:42 +0800 |
commit | 870fcdae66edc680cac55defb149e1434e865f37 (patch) | |
tree | bb0b45627b98ec4c782466b3bb57daf63c44e460 /src/libjin/graphics/je_canvas.h | |
parent | eb8ca083c9be574acd27cf0de41d1f69146cad7a (diff) |
*格式化代码
Diffstat (limited to 'src/libjin/graphics/je_canvas.h')
-rw-r--r-- | src/libjin/graphics/je_canvas.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libjin/graphics/je_canvas.h b/src/libjin/graphics/je_canvas.h index 277e39d..b65e598 100644 --- a/src/libjin/graphics/je_canvas.h +++ b/src/libjin/graphics/je_canvas.h @@ -7,20 +7,20 @@ namespace JinEngine { - namespace Graphics - { + namespace Graphics + { /// /// Renderable canvas. /// /// A canvas is a rendering target. /// - class Canvas : public Graphic - { - public: + class Canvas : public Graphic + { + public: /// /// /// - static bool isBinded(const Canvas*); + static bool isBinded(const Canvas*); /// /// @@ -35,17 +35,17 @@ namespace JinEngine /// /// /// - ~Canvas(); + ~Canvas(); inline GLuint getGLFrameBuffer() const { return fbo; }; - protected: + protected: - GLuint fbo; + GLuint fbo; - }; + }; - } // namespace Graphics + } // namespace Graphics } // namespace JinEngine #endif // defined(jin_graphics) |