#include <PhysicsHair.h>
|
enum | Src { SRC_TO_X = 0,
SRC_TO_Y,
SRC_TO_G_ANGLE
} |
|
enum | Target { TARGET_FROM_ANGLE = 0,
TARGET_FROM_ANGLE_V
} |
|
|
| PhysicsHair () |
| Constructor. More...
|
|
| PhysicsHair (float baseLengthM, float airRegistance, float mass) |
|
virtual | ~PhysicsHair () |
| Destructor. More...
|
|
void | setup (float baseLengthM, float airRegistance, float mass) |
|
void | setup () |
|
void | addSrcParam (PhysicsHair::Src srcType, const char *paramID, float scale, float weight) |
|
void | addTargetParam (PhysicsHair::Target targetType, const char *paramID, float scale, float weight) |
|
void | update (live2d::ALive2DModel *model, long long time) |
|
PhysicsPoint & | getPhysicsPoint1 () |
|
PhysicsPoint & | getPhysicsPoint2 () |
|
float | getGravityAngleDeg () |
|
void | setGravityAngleDeg (float angleDeg) |
|
float | getAngleP1toP2Deg () |
|
float | getAngleP1toP2Deg_velocity () |
|
|
static void * | operator new (l2d_size_t size) |
|
static void | operator delete (void *ptr) |
|
static void * | operator new[] (l2d_size_t size) |
|
static void | operator delete[] (void *ptr) |
|
static void * | operator new (l2d_size_t size, void *ptr) |
|
static void | operator delete (void *ptr, void *ptr2) |
|
static void * | operator new (l2d_size_t size, MemoryParam *memParam) |
|
static void | operator delete (void *ptr, MemoryParam *memParam) |
|
static void * | operator new (l2d_size_t size, MemoryParam *memParam, const char *filename, int line) |
|
static void | operator delete (void *ptr, MemoryParam *memParam, const char *filename, int line) |
|
static int | object_instanceCount = 0 |
|
static int | object_totalCount = 0 |
|
Constructor.
- Date
- 2013/05/21
PhysicsHair |
( |
float |
_baseLengthM, |
|
|
float |
_airRegistance, |
|
|
float |
_mass |
|
) |
| |
Destructor.
- Date
- 2013/05/21
void addSrcParam |
( |
PhysicsHair::Src |
srcType, |
|
|
const char * |
paramID, |
|
|
float |
scale, |
|
|
float |
weight |
|
) |
| |
void addTargetParam |
( |
PhysicsHair::Target |
targetType, |
|
|
const char * |
paramID, |
|
|
float |
scale, |
|
|
float |
weight |
|
) |
| |
void setup |
( |
float |
_baseLengthM, |
|
|
float |
_airRegistance, |
|
|
float |
_mass |
|
) |
| |
The documentation for this class was generated from the following files:
- src/physics/PhysicsHair.h
- src/physics/PhysicsHair.cpp