mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-07 03:52:41 +08:00
Cleanup and add 3d renderer sources
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user