fix circle code (#5991)

This commit is contained in:
JoneLau
2019-12-28 14:06:22 +08:00
committed by pandamicro
parent 098e72b8c9
commit 845871214c
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -27,7 +27,8 @@
* @category model
*/
import { Material, Mesh } from '../../assets';
import { Material } from '../../assets/material';
import { Mesh } from '../../assets/mesh';
import { ccclass, executeInEditMode, executionOrder, menu, property } from '../../data/class-decorator';
import { Model } from '../../renderer/scene/model';
import { Root } from '../../root';
+2 -1
View File
@@ -48,6 +48,7 @@ import { Asset } from './asset';
import { postLoadMesh } from './utils/mesh-utils';
import { warnID } from '../platform/debug';
import { aabb } from '../geom-utils';
import sys from '../platform/sys';
function getIndexStrideCtor (stride: number) {
switch (stride) {
@@ -1227,7 +1228,7 @@ function getStorageConstructor (format: GFXFormat): StorageConstructor | null {
return null;
}
const isLittleEndian = cc.sys.isLittleEndian;
const isLittleEndian = sys.isLittleEndian;
function getComponentByteLength (format: GFXFormat) {
const info = GFXFormatInfos[format];