Minor Fixing Compile Error on vs2012 express (#1225)
* Minor Fixing Compile Error on vs2012 express Thanks For This Great Library . There Were One Build Error Using vs2012 express compiler that it can't initialize class members outside of constructor. Minor Fix in "struct Context" . . * Update gizmo.inl
This commit is contained in:
parent
27b2dbd30a
commit
c606bd4feb
7
3rdparty/ocornut-imgui/widgets/gizmo.inl
vendored
7
3rdparty/ocornut-imgui/widgets/gizmo.inl
vendored
@ -495,6 +495,10 @@ namespace ImGuizmo
|
||||
{
|
||||
Context() : mbUsing(false), mbEnable(true), mbUsingBounds(false)
|
||||
{
|
||||
mX=0.f;
|
||||
mY=0.f;
|
||||
mWidth=0.f;
|
||||
mHeight=0.f;
|
||||
}
|
||||
|
||||
ImDrawList* mDrawList;
|
||||
@ -561,10 +565,13 @@ namespace ImGuizmo
|
||||
//
|
||||
int mCurrentOperation;
|
||||
|
||||
float mX,mY,mWidth,mHeight;
|
||||
/*
|
||||
float mX = 0.f;
|
||||
float mY = 0.f;
|
||||
float mWidth = 0.f;
|
||||
float mHeight = 0.f;
|
||||
*/
|
||||
};
|
||||
|
||||
static Context gContext;
|
||||
|
Loading…
Reference in New Issue
Block a user