From 4b584783d71ab4010f6d7fe7846f69d6f1ba4e8a Mon Sep 17 00:00:00 2001 From: Paul Graffam Date: Sun, 25 Feb 2018 19:27:55 -0500 Subject: [PATCH] Set to triple equals --- src/js/app/helpers/geometry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/app/helpers/geometry.js b/src/js/app/helpers/geometry.js index 2c514b9..7814ca1 100644 --- a/src/js/app/helpers/geometry.js +++ b/src/js/app/helpers/geometry.js @@ -12,13 +12,13 @@ export default class Geometry { } make(type) { - if(type == 'plane') { + if(type === 'plane') { return (width, height, widthSegments = 1, heightSegments = 1) => { this.geo = new THREE.PlaneGeometry(width, height, widthSegments, heightSegments); }; } - if(type == 'sphere') { + if(type === 'sphere') { return (radius, widthSegments = 32, heightSegments = 32) => { this.geo = new THREE.SphereGeometry(radius, widthSegments, heightSegments); };