language
stringclasses 1
value | owner
stringlengths 2
15
| repo
stringlengths 2
21
| sha
stringlengths 45
45
| message
stringlengths 7
36.3k
| path
stringlengths 1
199
| patch
stringlengths 15
102k
| is_multipart
bool 2
classes |
---|---|---|---|---|---|---|---|
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/BoxGeometry.js | @@ -3,10 +3,10 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
// BoxGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/CircleGeometry.js | @@ -4,11 +4,11 @@
* @author hughes
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
+import { Vector2 } from '../math/Vector2.js';
// CircleGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/ConeGeometry.js | @@ -2,8 +2,8 @@
* @author abelnation / http://github.com/abelnation
*/
-import { CylinderGeometry } from './CylinderGeometry';
-import { CylinderBufferGeometry } from './CylinderGeometry';
+import { CylinderGeometry } from './CylinderGeometry.js';
+import { CylinderBufferGeometry } from './CylinderGeometry.js';
// ConeGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/CylinderGeometry.js | @@ -3,11 +3,11 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
+import { Vector2 } from '../math/Vector2.js';
// CylinderGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/DodecahedronGeometry.js | @@ -3,8 +3,8 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { PolyhedronBufferGeometry } from './PolyhedronGeometry';
+import { Geometry } from '../core/Geometry.js';
+import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js';
// DodecahedronGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/EdgesGeometry.js | @@ -3,10 +3,10 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Geometry } from '../core/Geometry';
-import { _Math } from '../math/Math';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Geometry } from '../core/Geometry.js';
+import { _Math } from '../math/Math.js';
function EdgesGeometry( geometry, thresholdAngle ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/ExtrudeGeometry.js | @@ -22,12 +22,12 @@
* }
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector2 } from '../math/Vector2';
-import { Vector3 } from '../math/Vector3';
-import { ShapeUtils } from '../extras/ShapeUtils';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Vector3 } from '../math/Vector3.js';
+import { ShapeUtils } from '../extras/ShapeUtils.js';
// ExtrudeGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/IcosahedronGeometry.js | @@ -3,8 +3,8 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { PolyhedronBufferGeometry } from './PolyhedronGeometry';
+import { Geometry } from '../core/Geometry.js';
+import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js';
// IcosahedronGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/LatheGeometry.js | @@ -5,12 +5,12 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
-import { _Math } from '../math/Math';
+import { Geometry } from '../core/Geometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Vector3 } from '../math/Vector3.js';
+import { Vector2 } from '../math/Vector2.js';
+import { _Math } from '../math/Math.js';
// LatheGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/OctahedronGeometry.js | @@ -3,8 +3,8 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { PolyhedronBufferGeometry } from './PolyhedronGeometry';
+import { Geometry } from '../core/Geometry.js';
+import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js';
// OctahedronGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/ParametricGeometry.js | @@ -6,10 +6,10 @@
* based on the brilliant article by @prideout http://prideout.net/blog/?p=44
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
// ParametricGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/PlaneGeometry.js | @@ -3,9 +3,9 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
// PlaneGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/PolyhedronGeometry.js | @@ -5,11 +5,11 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
+import { Vector2 } from '../math/Vector2.js';
// PolyhedronGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/RingGeometry.js | @@ -3,11 +3,11 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector2 } from '../math/Vector2';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Vector3 } from '../math/Vector3.js';
// RingGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/ShapeGeometry.js | @@ -3,10 +3,10 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { ShapeUtils } from '../extras/ShapeUtils';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { ShapeUtils } from '../extras/ShapeUtils.js';
// ShapeGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/SphereGeometry.js | @@ -4,10 +4,10 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
// SphereGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/TetrahedronGeometry.js | @@ -3,8 +3,8 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { PolyhedronBufferGeometry } from './PolyhedronGeometry';
+import { Geometry } from '../core/Geometry.js';
+import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js';
// TetrahedronGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/TextGeometry.js | @@ -17,8 +17,8 @@
* }
*/
-import { Geometry } from '../core/Geometry';
-import { ExtrudeBufferGeometry } from './ExtrudeGeometry';
+import { Geometry } from '../core/Geometry.js';
+import { ExtrudeBufferGeometry } from './ExtrudeGeometry.js';
// TextGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/TorusGeometry.js | @@ -4,10 +4,10 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
// TorusGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/TorusKnotGeometry.js | @@ -5,10 +5,10 @@
* based on http://www.blackpawn.com/texts/pqtorus/
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
// TorusKnotGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/TubeGeometry.js | @@ -8,11 +8,11 @@
*
*/
-import { Geometry } from '../core/Geometry';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector2 } from '../math/Vector2';
-import { Vector3 } from '../math/Vector3';
+import { Geometry } from '../core/Geometry.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Vector3 } from '../math/Vector3.js';
// TubeGeometry
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/geometries/WireframeGeometry.js | @@ -3,9 +3,9 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Vector3 } from '../math/Vector3';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Vector3 } from '../math/Vector3.js';
function WireframeGeometry( geometry ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/ArrowHelper.js | @@ -14,15 +14,15 @@
* headWidth - Number
*/
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Object3D } from '../core/Object3D';
-import { CylinderBufferGeometry } from '../geometries/CylinderGeometry';
-import { MeshBasicMaterial } from '../materials/MeshBasicMaterial';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Mesh } from '../objects/Mesh';
-import { Line } from '../objects/Line';
-import { Vector3 } from '../math/Vector3';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Object3D } from '../core/Object3D.js';
+import { CylinderBufferGeometry } from '../geometries/CylinderGeometry.js';
+import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Mesh } from '../objects/Mesh.js';
+import { Line } from '../objects/Line.js';
+import { Vector3 } from '../math/Vector3.js';
var lineGeometry, coneGeometry;
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/AxisHelper.js | @@ -3,11 +3,11 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { LineSegments } from '../objects/LineSegments';
-import { VertexColors } from '../constants';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
+import { LineSegments } from '../objects/LineSegments.js';
+import { VertexColors } from '../constants.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
function AxisHelper( size ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/Box3Helper.js | @@ -2,12 +2,12 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { LineSegments } from '../objects/LineSegments';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { BufferAttribute } from '../core/BufferAttribute';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Object3D } from '../core/Object3D';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { BufferAttribute } from '../core/BufferAttribute.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Object3D } from '../core/Object3D.js';
function Box3Helper( box, hex ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/BoxHelper.js | @@ -3,11 +3,11 @@
* @author Mugen87 / http://github.com/Mugen87
*/
-import { Box3 } from '../math/Box3';
-import { LineSegments } from '../objects/LineSegments';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
+import { Box3 } from '../math/Box3.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
function BoxHelper( object, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/CameraHelper.js | @@ -8,14 +8,14 @@
* http://evanw.github.com/lightgl.js/tests/shadowmap.html
*/
-import { Camera } from '../cameras/Camera';
-import { Vector3 } from '../math/Vector3';
-import { LineSegments } from '../objects/LineSegments';
-import { Color } from '../math/Color';
-import { FaceColors } from '../constants';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
+import { Camera } from '../cameras/Camera.js';
+import { Vector3 } from '../math/Vector3.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { Color } from '../math/Color.js';
+import { FaceColors } from '../constants.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
function CameraHelper( camera ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/DirectionalLightHelper.js | @@ -4,12 +4,12 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Vector3 } from '../math/Vector3';
-import { Object3D } from '../core/Object3D';
-import { Line } from '../objects/Line';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
+import { Vector3 } from '../math/Vector3.js';
+import { Object3D } from '../core/Object3D.js';
+import { Line } from '../objects/Line.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
function DirectionalLightHelper( light, size, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/FaceNormalsHelper.js | @@ -3,12 +3,12 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Matrix3 } from '../math/Matrix3';
-import { Vector3 } from '../math/Vector3';
-import { LineSegments } from '../objects/LineSegments';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
+import { Matrix3 } from '../math/Matrix3.js';
+import { Vector3 } from '../math/Vector3.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
function FaceNormalsHelper( object, size, hex, linewidth ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/GridHelper.js | @@ -2,12 +2,12 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { LineSegments } from '../objects/LineSegments';
-import { VertexColors } from '../constants';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Color } from '../math/Color';
+import { LineSegments } from '../objects/LineSegments.js';
+import { VertexColors } from '../constants.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Color } from '../math/Color.js';
function GridHelper( size, divisions, color1, color2 ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/HemisphereLightHelper.js | @@ -4,14 +4,14 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { Vector3 } from '../math/Vector3';
-import { Color } from '../math/Color';
-import { Object3D } from '../core/Object3D';
-import { Mesh } from '../objects/Mesh';
-import { VertexColors } from '../constants';
-import { MeshBasicMaterial } from '../materials/MeshBasicMaterial';
-import { OctahedronBufferGeometry } from '../geometries/OctahedronGeometry';
-import { BufferAttribute } from '../core/BufferAttribute';
+import { Vector3 } from '../math/Vector3.js';
+import { Color } from '../math/Color.js';
+import { Object3D } from '../core/Object3D.js';
+import { Mesh } from '../objects/Mesh.js';
+import { VertexColors } from '../constants.js';
+import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js';
+import { OctahedronBufferGeometry } from '../geometries/OctahedronGeometry.js';
+import { BufferAttribute } from '../core/BufferAttribute.js';
function HemisphereLightHelper( light, size, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/PlaneHelper.js | @@ -2,13 +2,13 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Line } from '../objects/Line';
-import { Mesh } from '../objects/Mesh';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { MeshBasicMaterial } from '../materials/MeshBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Object3D } from '../core/Object3D';
+import { Line } from '../objects/Line.js';
+import { Mesh } from '../objects/Mesh.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Object3D } from '../core/Object3D.js';
function PlaneHelper( plane, size, hex ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/PointLightHelper.js | @@ -3,9 +3,9 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Mesh } from '../objects/Mesh';
-import { MeshBasicMaterial } from '../materials/MeshBasicMaterial';
-import { SphereBufferGeometry } from '../geometries/SphereGeometry';
+import { Mesh } from '../objects/Mesh.js';
+import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js';
+import { SphereBufferGeometry } from '../geometries/SphereGeometry.js';
function PointLightHelper( light, sphereSize, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/PolarGridHelper.js | @@ -4,12 +4,12 @@
* @author Hectate / http://www.github.com/Hectate
*/
-import { LineSegments } from '../objects/LineSegments';
-import { VertexColors } from '../constants';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Color } from '../math/Color';
+import { LineSegments } from '../objects/LineSegments.js';
+import { VertexColors } from '../constants.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Color } from '../math/Color.js';
function PolarGridHelper( radius, radials, circles, divisions, color1, color2 ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/RectAreaLightHelper.js | @@ -4,11 +4,11 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Object3D } from '../core/Object3D';
-import { Line } from '../objects/Line';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { BufferAttribute } from '../core/BufferAttribute';
+import { Object3D } from '../core/Object3D.js';
+import { Line } from '../objects/Line.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { BufferAttribute } from '../core/BufferAttribute.js';
function RectAreaLightHelper( light, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/SkeletonHelper.js | @@ -6,15 +6,15 @@
* @author Mugen87 / https://github.com/Mugen87
*/
-import { LineSegments } from '../objects/LineSegments';
-import { Matrix4 } from '../math/Matrix4';
-import { VertexColors } from '../constants';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Color } from '../math/Color';
-import { Vector3 } from '../math/Vector3';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { Object3D } from '../core/Object3D';
+import { LineSegments } from '../objects/LineSegments.js';
+import { Matrix4 } from '../math/Matrix4.js';
+import { VertexColors } from '../constants.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Color } from '../math/Color.js';
+import { Vector3 } from '../math/Vector3.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { Object3D } from '../core/Object3D.js';
function getBoneList( object ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/SpotLightHelper.js | @@ -4,12 +4,12 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Vector3 } from '../math/Vector3';
-import { Object3D } from '../core/Object3D';
-import { LineSegments } from '../objects/LineSegments';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
+import { Vector3 } from '../math/Vector3.js';
+import { Object3D } from '../core/Object3D.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
function SpotLightHelper( light, color ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/helpers/VertexNormalsHelper.js | @@ -3,12 +3,12 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Matrix3 } from '../math/Matrix3';
-import { Vector3 } from '../math/Vector3';
-import { LineSegments } from '../objects/LineSegments';
-import { LineBasicMaterial } from '../materials/LineBasicMaterial';
-import { Float32BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
+import { Matrix3 } from '../math/Matrix3.js';
+import { Vector3 } from '../math/Vector3.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
+import { Float32BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
function VertexNormalsHelper( object, size, hex, linewidth ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/AmbientLight.js | @@ -1,4 +1,4 @@
-import { Light } from './Light';
+import { Light } from './Light.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/DirectionalLight.js | @@ -1,6 +1,6 @@
-import { Light } from './Light';
-import { DirectionalLightShadow } from './DirectionalLightShadow';
-import { Object3D } from '../core/Object3D';
+import { Light } from './Light.js';
+import { DirectionalLightShadow } from './DirectionalLightShadow.js';
+import { Object3D } from '../core/Object3D.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/DirectionalLightShadow.js | @@ -1,5 +1,5 @@
-import { LightShadow } from './LightShadow';
-import { OrthographicCamera } from '../cameras/OrthographicCamera';
+import { LightShadow } from './LightShadow.js';
+import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/HemisphereLight.js | @@ -1,6 +1,6 @@
-import { Light } from './Light';
-import { Color } from '../math/Color';
-import { Object3D } from '../core/Object3D';
+import { Light } from './Light.js';
+import { Color } from '../math/Color.js';
+import { Object3D } from '../core/Object3D.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/Light.js | @@ -1,5 +1,5 @@
-import { Object3D } from '../core/Object3D';
-import { Color } from '../math/Color';
+import { Object3D } from '../core/Object3D.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/LightShadow.js | @@ -1,5 +1,5 @@
-import { Matrix4 } from '../math/Matrix4';
-import { Vector2 } from '../math/Vector2';
+import { Matrix4 } from '../math/Matrix4.js';
+import { Vector2 } from '../math/Vector2.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/PointLight.js | @@ -1,6 +1,6 @@
-import { Light } from './Light';
-import { PerspectiveCamera } from '../cameras/PerspectiveCamera';
-import { LightShadow } from './LightShadow';
+import { Light } from './Light.js';
+import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js';
+import { LightShadow } from './LightShadow.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/RectAreaLight.js | @@ -1,4 +1,4 @@
-import { Light } from './Light';
+import { Light } from './Light.js';
/**
* @author abelnation / http://github.com/abelnation | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/SpotLight.js | @@ -1,6 +1,6 @@
-import { Light } from './Light';
-import { SpotLightShadow } from './SpotLightShadow';
-import { Object3D } from '../core/Object3D';
+import { Light } from './Light.js';
+import { SpotLightShadow } from './SpotLightShadow.js';
+import { Object3D } from '../core/Object3D.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/lights/SpotLightShadow.js | @@ -1,6 +1,6 @@
-import { LightShadow } from './LightShadow';
-import { _Math } from '../math/Math';
-import { PerspectiveCamera } from '../cameras/PerspectiveCamera';
+import { LightShadow } from './LightShadow.js';
+import { _Math } from '../math/Math.js';
+import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/AnimationLoader.js | @@ -1,6 +1,6 @@
-import { AnimationClip } from '../animation/AnimationClip';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
+import { AnimationClip } from '../animation/AnimationClip.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author bhouston / http://clara.io/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/AudioLoader.js | @@ -1,6 +1,6 @@
-import { AudioContext } from '../audio/AudioContext';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
+import { AudioContext } from '../audio/AudioContext.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author Reece Aaron Lecrivain / http://reecenotes.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/BufferGeometryLoader.js | @@ -1,9 +1,9 @@
-import { Sphere } from '../math/Sphere';
-import { Vector3 } from '../math/Vector3';
-import { BufferAttribute } from '../core/BufferAttribute';
-import { BufferGeometry } from '../core/BufferGeometry';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
+import { Sphere } from '../math/Sphere.js';
+import { Vector3 } from '../math/Vector3.js';
+import { BufferAttribute } from '../core/BufferAttribute.js';
+import { BufferGeometry } from '../core/BufferGeometry.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/CompressedTextureLoader.js | @@ -1,7 +1,7 @@
-import { LinearFilter } from '../constants';
-import { FileLoader } from './FileLoader';
-import { CompressedTexture } from '../textures/CompressedTexture';
-import { DefaultLoadingManager } from './LoadingManager';
+import { LinearFilter } from '../constants.js';
+import { FileLoader } from './FileLoader.js';
+import { CompressedTexture } from '../textures/CompressedTexture.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/CubeTextureLoader.js | @@ -1,6 +1,6 @@
-import { ImageLoader } from './ImageLoader';
-import { CubeTexture } from '../textures/CubeTexture';
-import { DefaultLoadingManager } from './LoadingManager';
+import { ImageLoader } from './ImageLoader.js';
+import { CubeTexture } from '../textures/CubeTexture.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/DataTextureLoader.js | @@ -1,7 +1,7 @@
-import { LinearFilter, LinearMipMapLinearFilter, ClampToEdgeWrapping } from '../constants';
-import { FileLoader } from './FileLoader';
-import { DataTexture } from '../textures/DataTexture';
-import { DefaultLoadingManager } from './LoadingManager';
+import { LinearFilter, LinearMipMapLinearFilter, ClampToEdgeWrapping } from '../constants.js';
+import { FileLoader } from './FileLoader.js';
+import { DataTexture } from '../textures/DataTexture.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author Nikos M. / https://github.com/foo123/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/FileLoader.js | @@ -2,8 +2,8 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Cache } from './Cache';
-import { DefaultLoadingManager } from './LoadingManager';
+import { Cache } from './Cache.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
function FileLoader( manager ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/FontLoader.js | @@ -1,6 +1,6 @@
-import { Font } from '../extras/core/Font';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
+import { Font } from '../extras/core/Font.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/ImageLoader.js | @@ -2,8 +2,8 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Cache } from './Cache';
-import { DefaultLoadingManager } from './LoadingManager';
+import { Cache } from './Cache.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
function ImageLoader( manager ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/JSONLoader.js | @@ -1,13 +1,13 @@
-import { Loader } from './Loader';
-import { AnimationClip } from '../animation/AnimationClip';
-import { Vector3 } from '../math/Vector3';
-import { Vector4 } from '../math/Vector4';
-import { Color } from '../math/Color';
-import { Vector2 } from '../math/Vector2';
-import { Face3 } from '../core/Face3';
-import { Geometry } from '../core/Geometry';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
+import { Loader } from './Loader.js';
+import { AnimationClip } from '../animation/AnimationClip.js';
+import { Vector3 } from '../math/Vector3.js';
+import { Vector4 } from '../math/Vector4.js';
+import { Color } from '../math/Color.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Face3 } from '../core/Face3.js';
+import { Geometry } from '../core/Geometry.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/Loader.js | @@ -14,11 +14,11 @@ import {
MirroredRepeatWrapping,
RepeatWrapping
-} from '../constants';
-import { _Math } from '../math/Math';
-import { MaterialLoader } from './MaterialLoader';
-import { TextureLoader } from './TextureLoader';
-import { Color } from '../math/Color';
+} from '../constants.js';
+import { _Math } from '../math/Math.js';
+import { MaterialLoader } from './MaterialLoader.js';
+import { TextureLoader } from './TextureLoader.js';
+import { Color } from '../math/Color.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/MaterialLoader.js | @@ -1,7 +1,7 @@
-import { Vector2 } from '../math/Vector2';
-import { FileLoader } from './FileLoader';
-import { DefaultLoadingManager } from './LoadingManager';
-import * as Materials from '../materials/Materials';
+import { Vector2 } from '../math/Vector2.js';
+import { FileLoader } from './FileLoader.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
+import * as Materials from '../materials/Materials.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/ObjectLoader.js | @@ -18,39 +18,39 @@ import {
LinearFilter,
LinearMipMapNearestFilter,
LinearMipMapLinearFilter
-} from '../constants';
-import { Color } from '../math/Color';
-import { Matrix4 } from '../math/Matrix4';
-import { Object3D } from '../core/Object3D';
-import { Group } from '../objects/Group';
-import { Sprite } from '../objects/Sprite';
-import { Points } from '../objects/Points';
-import { Line } from '../objects/Line';
-import { LineLoop } from '../objects/LineLoop';
-import { LineSegments } from '../objects/LineSegments';
-import { LOD } from '../objects/LOD';
-import { Mesh } from '../objects/Mesh';
-import { SkinnedMesh } from '../objects/SkinnedMesh';
-import { Fog } from '../scenes/Fog';
-import { FogExp2 } from '../scenes/FogExp2';
-import { HemisphereLight } from '../lights/HemisphereLight';
-import { SpotLight } from '../lights/SpotLight';
-import { PointLight } from '../lights/PointLight';
-import { DirectionalLight } from '../lights/DirectionalLight';
-import { AmbientLight } from '../lights/AmbientLight';
-import { RectAreaLight } from '../lights/RectAreaLight';
-import { OrthographicCamera } from '../cameras/OrthographicCamera';
-import { PerspectiveCamera } from '../cameras/PerspectiveCamera';
-import { Scene } from '../scenes/Scene';
-import { Texture } from '../textures/Texture';
-import { ImageLoader } from './ImageLoader';
-import { LoadingManager, DefaultLoadingManager } from './LoadingManager';
-import { AnimationClip } from '../animation/AnimationClip';
-import { MaterialLoader } from './MaterialLoader';
-import { BufferGeometryLoader } from './BufferGeometryLoader';
-import { JSONLoader } from './JSONLoader';
-import { FileLoader } from './FileLoader';
-import * as Geometries from '../geometries/Geometries';
+} from '../constants.js';
+import { Color } from '../math/Color.js';
+import { Matrix4 } from '../math/Matrix4.js';
+import { Object3D } from '../core/Object3D.js';
+import { Group } from '../objects/Group.js';
+import { Sprite } from '../objects/Sprite.js';
+import { Points } from '../objects/Points.js';
+import { Line } from '../objects/Line.js';
+import { LineLoop } from '../objects/LineLoop.js';
+import { LineSegments } from '../objects/LineSegments.js';
+import { LOD } from '../objects/LOD.js';
+import { Mesh } from '../objects/Mesh.js';
+import { SkinnedMesh } from '../objects/SkinnedMesh.js';
+import { Fog } from '../scenes/Fog.js';
+import { FogExp2 } from '../scenes/FogExp2.js';
+import { HemisphereLight } from '../lights/HemisphereLight.js';
+import { SpotLight } from '../lights/SpotLight.js';
+import { PointLight } from '../lights/PointLight.js';
+import { DirectionalLight } from '../lights/DirectionalLight.js';
+import { AmbientLight } from '../lights/AmbientLight.js';
+import { RectAreaLight } from '../lights/RectAreaLight.js';
+import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
+import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js';
+import { Scene } from '../scenes/Scene.js';
+import { Texture } from '../textures/Texture.js';
+import { ImageLoader } from './ImageLoader.js';
+import { LoadingManager, DefaultLoadingManager } from './LoadingManager.js';
+import { AnimationClip } from '../animation/AnimationClip.js';
+import { MaterialLoader } from './MaterialLoader.js';
+import { BufferGeometryLoader } from './BufferGeometryLoader.js';
+import { JSONLoader } from './JSONLoader.js';
+import { FileLoader } from './FileLoader.js';
+import * as Geometries from '../geometries/Geometries.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/loaders/TextureLoader.js | @@ -2,10 +2,10 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { RGBAFormat, RGBFormat } from '../constants';
-import { ImageLoader } from './ImageLoader';
-import { Texture } from '../textures/Texture';
-import { DefaultLoadingManager } from './LoadingManager';
+import { RGBAFormat, RGBFormat } from '../constants.js';
+import { ImageLoader } from './ImageLoader.js';
+import { Texture } from '../textures/Texture.js';
+import { DefaultLoadingManager } from './LoadingManager.js';
function TextureLoader( manager ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/LineBasicMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/LineDashedMaterial.js | @@ -13,8 +13,8 @@
* }
*/
-import { LineBasicMaterial } from './LineBasicMaterial';
-import { Color } from '../math/Color';
+import { LineBasicMaterial } from './LineBasicMaterial.js';
+import { Color } from '../math/Color.js';
function LineDashedMaterial( parameters ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/Material.js | @@ -1,6 +1,6 @@
-import { EventDispatcher } from '../core/EventDispatcher';
-import { NoColors, FrontSide, FlatShading, NormalBlending, LessEqualDepth, AddEquation, OneMinusSrcAlphaFactor, SrcAlphaFactor } from '../constants';
-import { _Math } from '../math/Math';
+import { EventDispatcher } from '../core/EventDispatcher.js';
+import { NoColors, FrontSide, FlatShading, NormalBlending, LessEqualDepth, AddEquation, OneMinusSrcAlphaFactor, SrcAlphaFactor } from '../constants.js';
+import { _Math } from '../math/Math.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshBasicMaterial.js | @@ -1,6 +1,6 @@
-import { Material } from './Material';
-import { MultiplyOperation } from '../constants';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { MultiplyOperation } from '../constants.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshDepthMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { BasicDepthPacking } from '../constants';
+import { Material } from './Material.js';
+import { BasicDepthPacking } from '../constants.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshDistanceMaterial.js | @@ -1,4 +1,4 @@
-import { Material } from './Material';
+import { Material } from './Material.js';
import { Vector3 } from '../math/Vector3.js';
/** | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshLambertMaterial.js | @@ -1,6 +1,6 @@
-import { Material } from './Material';
-import { MultiplyOperation } from '../constants';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { MultiplyOperation } from '../constants.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshNormalMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { Vector2 } from '../math/Vector2';
+import { Material } from './Material.js';
+import { Vector2 } from '../math/Vector2.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshPhongMaterial.js | @@ -1,7 +1,7 @@
-import { Material } from './Material';
-import { MultiplyOperation } from '../constants';
-import { Vector2 } from '../math/Vector2';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { MultiplyOperation } from '../constants.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshPhysicalMaterial.js | @@ -1,4 +1,4 @@
-import { MeshStandardMaterial } from './MeshStandardMaterial';
+import { MeshStandardMaterial } from './MeshStandardMaterial.js';
/**
* @author WestLangley / http://github.com/WestLangley | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshStandardMaterial.js | @@ -1,6 +1,6 @@
-import { Material } from './Material';
-import { Vector2 } from '../math/Vector2';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { Vector2 } from '../math/Vector2.js';
+import { Color } from '../math/Color.js';
/**
* @author WestLangley / http://github.com/WestLangley | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/MeshToonMaterial.js | @@ -1,4 +1,4 @@
-import { MeshPhongMaterial } from './MeshPhongMaterial';
+import { MeshPhongMaterial } from './MeshPhongMaterial.js';
/**
* @author takahirox / http://github.com/takahirox | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/PointsMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { Color } from '../math/Color.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/RawShaderMaterial.js | @@ -1,4 +1,4 @@
-import { ShaderMaterial } from './ShaderMaterial';
+import { ShaderMaterial } from './ShaderMaterial.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/ShaderMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { UniformsUtils } from '../renderers/shaders/UniformsUtils';
+import { Material } from './Material.js';
+import { UniformsUtils } from '../renderers/shaders/UniformsUtils.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/ShadowMaterial.js | @@ -7,8 +7,8 @@
* }
*/
-import { Material } from './Material';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { Color } from '../math/Color.js';
function ShadowMaterial( parameters ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/materials/SpriteMaterial.js | @@ -1,5 +1,5 @@
-import { Material } from './Material';
-import { Color } from '../math/Color';
+import { Material } from './Material.js';
+import { Color } from '../math/Color.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Box2.js | @@ -1,4 +1,4 @@
-import { Vector2 } from './Vector2';
+import { Vector2 } from './Vector2.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Box3.js | @@ -1,5 +1,5 @@
-import { Vector3 } from './Vector3';
-import { Sphere } from './Sphere';
+import { Vector3 } from './Vector3.js';
+import { Sphere } from './Sphere.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Color.js | @@ -1,4 +1,4 @@
-import { _Math } from './Math';
+import { _Math } from './Math.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Euler.js | @@ -1,7 +1,7 @@
-import { Quaternion } from './Quaternion';
-import { Vector3 } from './Vector3';
-import { Matrix4 } from './Matrix4';
-import { _Math } from './Math';
+import { Quaternion } from './Quaternion.js';
+import { Vector3 } from './Vector3.js';
+import { Matrix4 } from './Matrix4.js';
+import { _Math } from './Math.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Frustum.js | @@ -1,6 +1,6 @@
-import { Vector3 } from './Vector3';
-import { Sphere } from './Sphere';
-import { Plane } from './Plane';
+import { Vector3 } from './Vector3.js';
+import { Sphere } from './Sphere.js';
+import { Plane } from './Plane.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Line3.js | @@ -1,5 +1,5 @@
-import { Vector3 } from './Vector3';
-import { _Math } from './Math';
+import { Vector3 } from './Vector3.js';
+import { _Math } from './Math.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Matrix3.js | @@ -1,4 +1,4 @@
-import { Vector3 } from './Vector3';
+import { Vector3 } from './Vector3.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Matrix4.js | @@ -1,4 +1,4 @@
-import { Vector3 } from './Vector3';
+import { Vector3 } from './Vector3.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Plane.js | @@ -1,5 +1,5 @@
-import { Matrix3 } from './Matrix3';
-import { Vector3 } from './Vector3';
+import { Matrix3 } from './Matrix3.js';
+import { Vector3 } from './Vector3.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Quaternion.js | @@ -1,4 +1,4 @@
-import { Vector3 } from './Vector3';
+import { Vector3 } from './Vector3.js';
/**
* @author mikael emtinger / http://gomo.se/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Ray.js | @@ -1,4 +1,4 @@
-import { Vector3 } from './Vector3';
+import { Vector3 } from './Vector3.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Sphere.js | @@ -1,5 +1,5 @@
-import { Box3 } from './Box3';
-import { Vector3 } from './Vector3';
+import { Box3 } from './Box3.js';
+import { Vector3 } from './Vector3.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Spherical.js | @@ -1,4 +1,4 @@
-import { _Math } from './Math';
+import { _Math } from './Math.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Triangle.js | @@ -1,6 +1,6 @@
-import { Vector3 } from './Vector3';
-import { Line3 } from './Line3';
-import { Plane } from './Plane';
+import { Vector3 } from './Vector3.js';
+import { Line3 } from './Line3.js';
+import { Plane } from './Plane.js';
/**
* @author bhouston / http://clara.io | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/Vector3.js | @@ -1,6 +1,6 @@
-import { _Math } from './Math';
-import { Matrix4 } from './Matrix4';
-import { Quaternion } from './Quaternion';
+import { _Math } from './Math.js';
+import { Matrix4 } from './Matrix4.js';
+import { Quaternion } from './Quaternion.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/interpolants/CubicInterpolant.js | @@ -1,6 +1,6 @@
-import { ZeroCurvatureEnding } from '../../constants';
-import { Interpolant } from '../Interpolant';
-import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants';
+import { ZeroCurvatureEnding } from '../../constants.js';
+import { Interpolant } from '../Interpolant.js';
+import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants.js';
/**
* Fast and simple cubic spline interpolant. | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/interpolants/DiscreteInterpolant.js | @@ -1,4 +1,4 @@
-import { Interpolant } from '../Interpolant';
+import { Interpolant } from '../Interpolant.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/interpolants/LinearInterpolant.js | @@ -1,4 +1,4 @@
-import { Interpolant } from '../Interpolant';
+import { Interpolant } from '../Interpolant.js';
/**
* @author tschw | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/math/interpolants/QuaternionLinearInterpolant.js | @@ -1,5 +1,5 @@
-import { Interpolant } from '../Interpolant';
-import { Quaternion } from '../Quaternion';
+import { Interpolant } from '../Interpolant.js';
+import { Quaternion } from '../Quaternion.js';
/**
* Spherical linear unit quaternion interpolant. | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/objects/Bone.js | @@ -1,4 +1,4 @@
-import { Object3D } from '../core/Object3D';
+import { Object3D } from '../core/Object3D.js';
/**
* @author mikael emtinger / http://gomo.se/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/objects/Group.js | @@ -1,4 +1,4 @@
-import { Object3D } from '../core/Object3D';
+import { Object3D } from '../core/Object3D.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |