mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
96d360e3df
* math function rename deprecated * redefined fixed
17 lines
322 B
TypeScript
17 lines
322 B
TypeScript
/**
|
|
* @hidden
|
|
*/
|
|
|
|
import { deprecatedWrapper } from '../../deprecated';
|
|
import line from './line'
|
|
|
|
deprecatedWrapper({
|
|
oldTarget: line.prototype,
|
|
oldPrefix: 'line',
|
|
newTarget: line.prototype,
|
|
newPrefix: 'line',
|
|
pairs: [
|
|
['mag', 'len'],
|
|
['magnitude', 'len'],
|
|
],
|
|
}); |