Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalia Smirnova committed Nov 27, 2023
1 parent 75ae3e9 commit 9acb819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/lib/src/Miew.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const EDIT_MODE = { COMPLEX: 0, COMPONENT: 1, FRAGMENT: 2 };
const LOADER_NOT_FOUND = 'Could not find suitable loader for this source';
const PARSER_NOT_FOUND = 'Could not find suitable parser for this source';

// Colormanagement in threejs changed a lot in 152+ version.
// To store previous colors for we disable the color management system
// Color management changed a lot in threejs 152+ version.
// To store miew colors we disable the new color management system
THREE.ColorManagement.enabled = false;

const { createElement } = utils;
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/gfx/geometries/ChunkedObjectsGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ChunkedObjectsGeometry extends THREE.BufferGeometry {

raycast(raycaster, intersects) {
const inters = [];
// use THREE.Mesh racysting interface for the Geometry. The Mesh is
// use THREE.Mesh raycasting interface for the Geometry. The Mesh is
// created with existed geometry and default material, so it doesn't slowdown.
const mesh = new THREE.Mesh();
mesh.geometry = this;
Expand Down

0 comments on commit 9acb819

Please # to comment.