예제 #1
0
파일: MP.cs 프로젝트: Pheema/UnitySandBox
 public void SetDefaultValues()
 {
     owner_id      = 0;
     stiffness     = 1500.0f;
     hit_handler   = null;
     force_handler = null;
 }
예제 #2
0
파일: MP.cs 프로젝트: stlck/FractalTest
 public void SetDefaultValues()
 {
     owner_id = 0;
     stiffness = 1500.0f;
     hit_handler = null;
     force_handler = null;
 }
예제 #3
0
 void OnEnable()
 {
     m_trans = GetComponent<Transform>();
     if (m_mpupdate == null)
     {
         m_mpupdate = MPUpdate;
         m_handler = Handler;
     }
     m_target.AddUpdateRoutine(m_mpupdate);
 }
예제 #4
0
 void OnEnable()
 {
     m_trans = GetComponent <Transform>();
     if (m_mpupdate == null)
     {
         m_mpupdate = MPUpdate;
         m_handler  = Handler;
     }
     m_target.AddUpdateRoutine(m_mpupdate);
 }
예제 #5
0
 void Awake()
 {
     if (m_hit_handler == null)
     {
         m_hit_handler = PropagateHit;
     }
     if (m_force_handler == null)
     {
         m_force_handler = PropagateForce;
     }
 }
예제 #6
0
 void Awake()
 {
     if (m_hit_handler == null) m_hit_handler = PropagateHit;
     if (m_force_handler == null) m_force_handler = PropagateForce;
 }
예제 #7
0
파일: MP.cs 프로젝트: Pheema/UnitySandBox
 [DllImport("MassParticle")] public static extern void mpScanAllParallel(int context, MPHitHandler h);
예제 #8
0
파일: MP.cs 프로젝트: Pheema/UnitySandBox
 [DllImport("MassParticle")] public static extern void mpScanAABBParallel(int context, MPHitHandler h, ref Vector3 center, ref Vector3 extent);
예제 #9
0
파일: MP.cs 프로젝트: Pheema/UnitySandBox
 [DllImport("MassParticle")] public static extern void mpScanSphereParallel(int context, MPHitHandler h, ref Vector3 center, float radius);
예제 #10
0
파일: MP.cs 프로젝트: davidlawson/ggj2016
 public static extern void mpScanAllParallel(int context, MPHitHandler h);
예제 #11
0
파일: MP.cs 프로젝트: davidlawson/ggj2016
 public static extern void mpScanAABBParallel(int context, MPHitHandler h, ref Vector3 center, ref Vector3 extent);
예제 #12
0
파일: MP.cs 프로젝트: davidlawson/ggj2016
 public static extern void mpScanSphereParallel(int context, MPHitHandler h, ref Vector3 center, float radius);
예제 #13
0
 public static extern void mpScanAllParallel(int context, MPHitHandler h);
예제 #14
0
 public static extern void mpScanAABBParallel(int context, MPHitHandler h, ref Vector3 center, ref Vector3 extent);
예제 #15
0
 public static extern void mpScanSphereParallel(int context, MPHitHandler h, ref Vector3 center, float radius);