Files
cocos4/native/cocos/editor-support/dragonbones/geom/Transform.cpp
T
owen c9c6634e7e v2.0 skeleton optimize (#1603)
* 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
2018-12-03 19:58:00 +08:00

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