Files
cocos4/native/cocos/editor-support/dragonbones/model/ConstraintData.cpp
T
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00

26 lines
406 B
C++

//
// Created by liangshuochen on 09/06/2017.
//
#include "ConstraintData.h"
DRAGONBONES_NAMESPACE_BEGIN
void ConstraintData::_onClear() {
order = 0;
name = "";
target = nullptr;
root = nullptr;
bone = nullptr;
}
void IKConstraintData::_onClear() {
ConstraintData::_onClear();
scaleEnabled = false;
bendPositive = false;
weight = 1.0f;
}
DRAGONBONES_NAMESPACE_END