From 9474767c68c48eff2618df80433b0b81ebf529c6 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 20 Nov 2018 21:43:01 +0800 Subject: =?UTF-8?q?*=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/math/je_quad.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libjin/math/je_quad.h') diff --git a/src/libjin/math/je_quad.h b/src/libjin/math/je_quad.h index 74cd294..fd5e7a1 100644 --- a/src/libjin/math/je_quad.h +++ b/src/libjin/math/je_quad.h @@ -11,6 +11,10 @@ namespace JinEngine /// struct Quad { + Quad() + : x(0), y(0), w(0), h(0) + { + } Quad(float _x, float _y, float _w, float _h) : x(_x), y(_y), w(_w), h(_h) { -- cgit v1.1-26-g67d0