mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 19:12:40 +08:00
c9c6634e7e
* v2.0 skeleton optimize * v2.0 skeleton offical source file * Rename jsbDragonBones to dragonbones Rename jsbSpine to spine Rename editor to middleware Rename EditorManager to MiddlewareManager * Rename Macro.h to MiddlewareMacro to avoid duplication of name * Middleware update by js * recover other ini generate * Update cocos2dx-file.json * createArrayBuffer support null point * Rename MiddlewareMacro * skeleton windows 工程 * add checkspace before write buffer * add math include * modify dragonBones to dragonbones * modify dragonBones to dragonbones * modify dragonBones to dragonbones * remove useless code * Change copyright time
14 lines
348 B
C++
14 lines
348 B
C++
|
|
#include "Transform.h"
|
|
|
|
DRAGONBONES_NAMESPACE_BEGIN
|
|
|
|
const float Transform::PI = 3.14159265358979323846f;
|
|
const float Transform::PI_D = PI * 2.0f;
|
|
const float Transform::PI_H = PI * 0.5f;
|
|
const float Transform::PI_Q = PI * 0.25f;
|
|
const float Transform::DEG_RAD = PI / 180.f;
|
|
const float Transform::RAD_DEG = 180.f / PI;
|
|
|
|
DRAGONBONES_NAMESPACE_END
|