aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Texture.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-16 23:09:18 +0800
committerchai <chaifix@163.com>2018-10-16 23:09:18 +0800
commit5534828032730762f8c1e4daf924b466fffb8be0 (patch)
tree1ae83fc877e4a2d136f6dd120260edd147b13e95 /src/libjin/Graphics/Texture.cpp
parent0fc4b3ad5f2ac8d5c0588f61c0cbed4349ee1430 (diff)
*格式化代码
Diffstat (limited to 'src/libjin/Graphics/Texture.cpp')
-rw-r--r--src/libjin/Graphics/Texture.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libjin/Graphics/Texture.cpp b/src/libjin/Graphics/Texture.cpp
index a42e796..915fe54 100644
--- a/src/libjin/Graphics/Texture.cpp
+++ b/src/libjin/Graphics/Texture.cpp
@@ -8,27 +8,27 @@
namespace jin
{
-namespace graphics
-{
+ namespace graphics
+ {
- using namespace jin::math;
+ using namespace jin::math;
- /*static*/ Texture* Texture::createTexture(Bitmap* bitmap)
- {
- Texture* tex = new Texture(bitmap);
- return tex;
- }
+ /*static*/ Texture* Texture::createTexture(Bitmap* bitmap)
+ {
+ Texture* tex = new Texture(bitmap);
+ return tex;
+ }
- Texture::Texture(const Bitmap* bitmap)
- : Drawable(bitmap)
- {
- }
+ Texture::Texture(const Bitmap* bitmap)
+ : Drawable(bitmap)
+ {
+ }
- Texture::~Texture()
- {
- }
+ Texture::~Texture()
+ {
+ }
-} // graphics
+ } // graphics
} // jin
#endif // LIBJIN_MODULES_RENDER \ No newline at end of file