diff --git a/source/engine/threejs/threeutils.js b/source/engine/threejs/threeutils.js index b52bad1..03f631a 100644 --- a/source/engine/threejs/threeutils.js +++ b/source/engine/threejs/threeutils.js @@ -1,7 +1,3 @@ -// Some mobile devices say that they support mediump, but in reality they don't. At the end -// all materials rendered as black. This hack renders a single plane with red material and -// it checks if it's really red. If it's not, then probably there is a driver issue. - import { Coord2D } from '../geometry/coord2d.js'; import { Coord3D } from '../geometry/coord3d.js'; import { ColorFromFloatComponents } from '../model/color.js'; @@ -9,6 +5,9 @@ import { MaterialType } from '../model/material.js'; import { Mesh } from '../model/mesh.js'; import { Triangle } from '../model/triangle.js'; +// Some mobile devices say that they support mediump, but in reality they don't. At the end +// all materials rendered as black. This hack renders a single plane with red material and +// it checks if it's really red. If it's not, then probably there is a driver issue. // https://github.com/kovacsv/Online3DViewer/issues/69 export function HasHighpDriverIssue () {