From b7b4cca10fec24f25e2e1d5c4e508d073c570a34 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Wed, 12 Jan 2022 20:09:18 +0100 Subject: [PATCH] Minor modification. --- source/engine/threejs/threeutils.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 () {