mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 19:12:40 +08:00
25 lines
433 B
TypeScript
25 lines
433 B
TypeScript
/**
|
|
* @packageDocumentation
|
|
* @hidden
|
|
*/
|
|
|
|
import { replaceProperty, removeProperty } from '../utils/x-deprecated';
|
|
import line from './line';
|
|
import intersect from './intersect';
|
|
|
|
replaceProperty(line.prototype, 'line', [
|
|
{
|
|
name: 'mag',
|
|
newName: 'len',
|
|
},
|
|
{
|
|
name: 'magnitude',
|
|
newName: 'len',
|
|
},
|
|
]);
|
|
|
|
removeProperty(intersect, 'intersect', [
|
|
{
|
|
name: 'line_quad'
|
|
}
|
|
]) |