commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
24
include/engine/core/physic_material.cpp
Normal file
24
include/engine/core/physic_material.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "core/physic_material.h"
|
||||
|
||||
using namespace GS::Core;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
PhysicMaterial::PhysicMaterial()
|
||||
{
|
||||
mass = 1.f;
|
||||
|
||||
SetFriction();
|
||||
restitution = 0.1f;
|
||||
|
||||
sb_damping = 0.99f;
|
||||
sb_stiffness = 1;
|
||||
sb_torsion = 1;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user