Skip to content

Commit

Permalink
Change the quotations "" to '' of import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Shimada committed Feb 18, 2021
1 parent 029fcb7 commit 00b2648
Show file tree
Hide file tree
Showing 187 changed files with 1,233 additions and 1,242 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.js

This file was deleted.

22 changes: 11 additions & 11 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
samples
assets
docs
node_modules
server.js
setup.js
pre-commit
jest-puppeteer-config.js
jest.config.e2e.js
jest.config.js
.eslintrc.js
samples
assets
docs
node_modules
server.js
setup.js
pre-commit
jest-puppeteer-config.js
jest.config.e2e.js
jest.config.js
.eslintrc.json
4 changes: 2 additions & 2 deletions src/commontypes/VRM.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GltfLoadOption } from "./glTF";
import Entity from "../foundation/core/Entity";
import { GltfLoadOption } from './glTF';
import Entity from '../foundation/core/Entity';


export type HumanBone = {
Expand Down
16 changes: 8 additions & 8 deletions src/commontypes/glTF.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Entity from "../foundation/core/Entity";
import RnPromise from "../foundation/misc/RnPromise";
import { Index } from "./CommonTypes";
import { ShaderSemanticsEnum } from "../foundation/definitions/ShaderSemantics";
import CameraComponent from "../foundation/components/CameraComponent";
import Material from "../foundation/materials/core/Material";
import Expression from "../foundation/renderer/Expression";
import ILoaderExtension from "../foundation/importer/ILoaderExtension";
import Entity from '../foundation/core/Entity';
import RnPromise from '../foundation/misc/RnPromise';
import { Index } from './CommonTypes';
import { ShaderSemanticsEnum } from '../foundation/definitions/ShaderSemantics';
import CameraComponent from '../foundation/components/CameraComponent';
import Material from '../foundation/materials/core/Material';
import Expression from '../foundation/renderer/Expression';
import ILoaderExtension from '../foundation/importer/ILoaderExtension';

export type Gltf2Scene = {
nodes?: any[],
Expand Down
26 changes: 13 additions & 13 deletions src/effekseer/EffekseerComponent.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import Component from "../foundation/core/Component";
import EntityRepository from "../foundation/core/EntityRepository";
import SceneGraphComponent from "../foundation/components/SceneGraphComponent";
import { ProcessStage } from "../foundation/definitions/ProcessStage";
import TransformComponent from "../foundation/components/TransformComponent";
import Vector3 from "../foundation/math/Vector3";
import CameraComponent from "../foundation/components/CameraComponent";
import ComponentRepository from "../foundation/core/ComponentRepository";
import { WellKnownComponentTIDs } from "../foundation/components/WellKnownComponentTIDs";
import CGAPIResourceRepository from "../foundation/renderer/CGAPIResourceRepository";
import { ComponentTID, EntityUID, ComponentSID } from "../commontypes/CommonTypes";
import Config from "../foundation/core/Config";
import MutableMatrix44 from "../foundation/math/MutableMatrix44";
import Component from '../foundation/core/Component';
import EntityRepository from '../foundation/core/EntityRepository';
import SceneGraphComponent from '../foundation/components/SceneGraphComponent';
import { ProcessStage } from '../foundation/definitions/ProcessStage';
import TransformComponent from '../foundation/components/TransformComponent';
import Vector3 from '../foundation/math/Vector3';
import CameraComponent from '../foundation/components/CameraComponent';
import ComponentRepository from '../foundation/core/ComponentRepository';
import { WellKnownComponentTIDs } from '../foundation/components/WellKnownComponentTIDs';
import CGAPIResourceRepository from '../foundation/renderer/CGAPIResourceRepository';
import { ComponentTID, EntityUID, ComponentSID } from '../commontypes/CommonTypes';
import Config from '../foundation/core/Config';
import MutableMatrix44 from '../foundation/math/MutableMatrix44';

declare var effekseer: any;

Expand Down
8 changes: 4 additions & 4 deletions src/effekseer/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

import EffekseerComponent from "./EffekseerComponent";
import EntityRepository from "../foundation/core/EntityRepository";
import TransformComponent from "../foundation/components/TransformComponent";
import SceneGraphComponent from "../foundation/components/SceneGraphComponent";
import EffekseerComponent from './EffekseerComponent';
import EntityRepository from '../foundation/core/EntityRepository';
import TransformComponent from '../foundation/components/TransformComponent';
import SceneGraphComponent from '../foundation/components/SceneGraphComponent';

const createEffekseerEntity = function() {
const entityRepository = EntityRepository.getInstance();
Expand Down
6 changes: 3 additions & 3 deletions src/foundation/cameras/AbstractCameraController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import CameraComponent from "../components/CameraComponent";
import Entity from "../core/Entity";
import Vector3 from "../math/Vector3";
import CameraComponent from '../components/CameraComponent';
import Entity from '../core/Entity';
import Vector3 from '../math/Vector3';

export default abstract class AbstractCameraController {
public zNearLimitFactor = 10; // must be more than 0
Expand Down
4 changes: 2 additions & 2 deletions src/foundation/cameras/ICameraController.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import CameraComponent from "../components/CameraComponent";
import Entity from "../core/Entity";
import CameraComponent from '../components/CameraComponent';
import Entity from '../core/Entity';

export default interface ICameraController {
logic(cameraComponent: CameraComponent): void;
Expand Down
24 changes: 12 additions & 12 deletions src/foundation/cameras/OrbitCameraController.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Vector3 from "../math/Vector3";
import MutableVector3 from "../math/MutableVector3";
import { MathUtil } from "../math/MathUtil";
import CameraComponent from "../components/CameraComponent";
import MutableMatrix33 from "../math/MutableMatrix33";
import Entity from "../core/Entity";
import Matrix44 from "../math/Matrix44";
import { Count, Size } from "../../commontypes/CommonTypes";
import ICameraController from "./ICameraController";
import MutableMatrix44 from "../math/MutableMatrix44";
import AABB from "../math/AABB";
import AbstractCameraController from "./AbstractCameraController";
import Vector3 from '../math/Vector3';
import MutableVector3 from '../math/MutableVector3';
import { MathUtil } from '../math/MathUtil';
import CameraComponent from '../components/CameraComponent';
import MutableMatrix33 from '../math/MutableMatrix33';
import Entity from '../core/Entity';
import Matrix44 from '../math/Matrix44';
import { Count, Size } from '../../commontypes/CommonTypes';
import ICameraController from './ICameraController';
import MutableMatrix44 from '../math/MutableMatrix44';
import AABB from '../math/AABB';
import AbstractCameraController from './AbstractCameraController';

declare var window: any;

Expand Down
22 changes: 11 additions & 11 deletions src/foundation/cameras/WalkThroughCameraController.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import Matrix44 from "../math/Matrix44";
import MathClassUtil from "../math/MathClassUtil";
import { MiscUtil } from "../misc/MiscUtil";
import ICameraController from "./ICameraController";
import MutableVector3 from "../math/MutableVector3";
import CameraComponent from "../components/CameraComponent";
import { MathUtil } from "../math/MathUtil";
import Entity from "../core/Entity";
import MutableMatrix33 from "../math/MutableMatrix33";
import MutableMatrix44 from "../math/MutableMatrix44";
import AbstractCameraController from "./AbstractCameraController";
import Matrix44 from '../math/Matrix44';
import MathClassUtil from '../math/MathClassUtil';
import { MiscUtil } from '../misc/MiscUtil';
import ICameraController from './ICameraController';
import MutableVector3 from '../math/MutableVector3';
import CameraComponent from '../components/CameraComponent';
import { MathUtil } from '../math/MathUtil';
import Entity from '../core/Entity';
import MutableMatrix33 from '../math/MutableMatrix33';
import MutableMatrix44 from '../math/MutableMatrix44';
import AbstractCameraController from './AbstractCameraController';

type KeyboardEventListener = (evt: KeyboardEvent) => any;

Expand Down
24 changes: 12 additions & 12 deletions src/foundation/components/AnimationComponent.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Component from "../core/Component";
import ComponentRepository from "../core/ComponentRepository";
import EntityRepository from "../core/EntityRepository";
import { WellKnownComponentTIDs } from "./WellKnownComponentTIDs";
import { AnimationInterpolationEnum, AnimationInterpolation } from "../definitions/AnimationInterpolation";
import { AnimationAttribute } from "../definitions/AnimationAttribute";
import TransformComponent from "./TransformComponent";
import { ProcessStage } from "../definitions/ProcessStage";
import MutableVector3 from "../math/MutableVector3";
import MutableQuaternion from "../math/MutableQuaternion";
import MeshComponent from "./MeshComponent";
import { ComponentTID, ComponentSID, EntityUID, Index } from "../../commontypes/CommonTypes";
import Component from '../core/Component';
import ComponentRepository from '../core/ComponentRepository';
import EntityRepository from '../core/EntityRepository';
import { WellKnownComponentTIDs } from './WellKnownComponentTIDs';
import { AnimationInterpolationEnum, AnimationInterpolation } from '../definitions/AnimationInterpolation';
import { AnimationAttribute } from '../definitions/AnimationAttribute';
import TransformComponent from './TransformComponent';
import { ProcessStage } from '../definitions/ProcessStage';
import MutableVector3 from '../math/MutableVector3';
import MutableQuaternion from '../math/MutableQuaternion';
import MeshComponent from './MeshComponent';
import { ComponentTID, ComponentSID, EntityUID, Index } from '../../commontypes/CommonTypes';

type AnimationLine = {
input: number[]
Expand Down
22 changes: 11 additions & 11 deletions src/foundation/components/CameraControllerComponent.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import Component from "../core/Component";
import { EntityUID, ComponentSID, ComponentTID } from "../../commontypes/CommonTypes";
import EntityRepository from "../core/EntityRepository";
import CameraComponent from "./CameraComponent";
import { ProcessStage } from "../definitions/ProcessStage";
import ComponentRepository from "../core/ComponentRepository";
import { WellKnownComponentTIDs } from "./WellKnownComponentTIDs";
import OrbitCameraController from "../cameras/OrbitCameraController";
import ICameraController from "../cameras/ICameraController";
import WalkThroughCameraController from "../cameras/WalkThroughCameraController";
import { CameraControllerTypeEnum, CameraControllerType } from "../definitions/CameraControllerType";
import Component from '../core/Component';
import { EntityUID, ComponentSID, ComponentTID } from '../../commontypes/CommonTypes';
import EntityRepository from '../core/EntityRepository';
import CameraComponent from './CameraComponent';
import { ProcessStage } from '../definitions/ProcessStage';
import ComponentRepository from '../core/ComponentRepository';
import { WellKnownComponentTIDs } from './WellKnownComponentTIDs';
import OrbitCameraController from '../cameras/OrbitCameraController';
import ICameraController from '../cameras/ICameraController';
import WalkThroughCameraController from '../cameras/WalkThroughCameraController';
import { CameraControllerTypeEnum, CameraControllerType } from '../definitions/CameraControllerType';

export default class CameraControllerComponent extends Component {
private __cameraComponent?: CameraComponent;
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/components/MeshComponent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Rn from "../../";
import Rn from '../../';


function generateEntity() {
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/components/SceneGraphComponent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Rn from "../..";
import Rn from '../..';

function generateEntity() {
const repo = Rn.EntityRepository.getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/components/TransformComponent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Rn from "../..";
import Rn from '../..';

function generateEntity() {
const repo = Rn.EntityRepository.getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/core/Config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoneDataType } from "../definitions/BoneDataType";
import { BoneDataType } from '../definitions/BoneDataType';

let byteAlignOfBuffer = 16;
let maxEntityNumber = 5000;
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/core/Entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import EntityRepository from './EntityRepository';
import TransformComponent from '../components/TransformComponent';
import SceneGraphComponent from '../components/SceneGraphComponent';
import Component from './Component';
import { WellKnownComponentTIDs } from "../components/WellKnownComponentTIDs";
import { WellKnownComponentTIDs } from '../components/WellKnownComponentTIDs';
import RnObject from './RnObject';
import { ComponentTID, EntityUID } from '../../commontypes/CommonTypes';
import SkeletalComponent from '../components/SkeletalComponent';
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/core/EntityRepository.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Rn from "../..";
import Rn from '../..';

function generateEntity() {
const repo = Rn.EntityRepository.getInstance();
Expand Down
40 changes: 20 additions & 20 deletions src/foundation/core/GlobalDataRepository.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import { ShaderSemanticsIndex, ShaderSemanticsInfo, ShaderSemanticsEnum, ShaderSemantics, getShaderPropertyFunc } from "../definitions/ShaderSemantics";
import { Count, Index, CGAPIResourceHandle, IndexOf16Bytes } from "../../commontypes/CommonTypes";
import { BufferUse } from "../definitions/BufferUse";
import MemoryManager from "./MemoryManager";
import { CompositionType } from "../definitions/CompositionType";
import Material from "../materials/core/Material";
import { ComponentType } from "../definitions/ComponentType";
import Accessor from "../memory/Accessor";
import MathClassUtil from "../math/MathClassUtil";
import CGAPIResourceRepository from "../renderer/CGAPIResourceRepository";
import { ShaderType } from "../definitions/ShaderType";
import VectorN from "../math/VectorN";
import { ShaderVariableUpdateInterval } from "../definitions/ShaderVariableUpdateInterval";
import Config from "./Config";
import Scalar from "../math/Scalar";
import Vector4 from "../math/Vector4";
import Vector3 from "../math/Vector3";
import MutableMatrix44 from "../math/MutableMatrix44";
import { WellKnownComponentTIDs } from "../components/WellKnownComponentTIDs";
import { BoneDataType } from "../definitions/BoneDataType";
import { ShaderSemanticsIndex, ShaderSemanticsInfo, ShaderSemanticsEnum, ShaderSemantics, getShaderPropertyFunc } from '../definitions/ShaderSemantics';
import { Count, Index, CGAPIResourceHandle, IndexOf16Bytes } from '../../commontypes/CommonTypes';
import { BufferUse } from '../definitions/BufferUse';
import MemoryManager from './MemoryManager';
import { CompositionType } from '../definitions/CompositionType';
import Material from '../materials/core/Material';
import { ComponentType } from '../definitions/ComponentType';
import Accessor from '../memory/Accessor';
import MathClassUtil from '../math/MathClassUtil';
import CGAPIResourceRepository from '../renderer/CGAPIResourceRepository';
import { ShaderType } from '../definitions/ShaderType';
import VectorN from '../math/VectorN';
import { ShaderVariableUpdateInterval } from '../definitions/ShaderVariableUpdateInterval';
import Config from './Config';
import Scalar from '../math/Scalar';
import Vector4 from '../math/Vector4';
import Vector3 from '../math/Vector3';
import MutableMatrix44 from '../math/MutableMatrix44';
import { WellKnownComponentTIDs } from '../components/WellKnownComponentTIDs';
import { BoneDataType } from '../definitions/BoneDataType';


type GlobalPropertyStruct = {
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/core/RnObject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RnTags, ObjectUID } from "../../commontypes/CommonTypes";
import { RnTags, ObjectUID } from '../../commontypes/CommonTypes';


export type Tag = {
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/AlphaMode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface AlphaModeEnum extends EnumIO {

Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/AnimationAttribute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface AnimationAttributeEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/AnimationInterpolation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface AnimationInterpolationEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/BasisCompressionType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface BasisCompressionTypeEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/BoneDataType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface BoneDataTypeEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/BufferUse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface BufferUseEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/CameraControllerType.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface CameraControllerTypeEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/CameraType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface CameraTypeEnum extends EnumIO {
}
Expand Down
4 changes: 2 additions & 2 deletions src/foundation/definitions/ComponentType.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { TypedArray, Byte } from "../../commontypes/CommonTypes";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';
import { TypedArray, Byte } from '../../commontypes/CommonTypes';

export interface ComponentTypeEnum extends EnumIO {
getSizeInBytes(): Byte;
Expand Down
6 changes: 3 additions & 3 deletions src/foundation/definitions/CompositionType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { ComponentType, ComponentTypeEnum } from "./ComponentType";
import { Count } from "../../commontypes/CommonTypes";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';
import { ComponentType, ComponentTypeEnum } from './ComponentType';
import { Count } from '../../commontypes/CommonTypes';

export interface CompositionTypeEnum extends EnumIO {
getNumberOfComponents(): Count;
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/FileType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from, _fromString } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from, _fromString } from '../misc/EnumIO';

export interface FileTypeEnum extends EnumIO {
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/definitions/HdriFormat.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnumClass, EnumIO, _from } from "../misc/EnumIO";
import { EnumClass, EnumIO, _from } from '../misc/EnumIO';

export interface HdriFormatEnum extends EnumIO {
}
Expand Down
Loading

0 comments on commit 00b2648

Please sign in to comment.