Skip to content

Commit

Permalink
Merge pull request #15 from andstor/develop
Browse files Browse the repository at this point in the history
Reformat class documentation due to duplicated mixin documentation
  • Loading branch information
andstor authored Mar 5, 2020
2 parents 25538a1 + 63ffb6f commit e5eaf6c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 22 deletions.
4 changes: 1 addition & 3 deletions src/VoxelLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ import { Color, BufferGeometry, MeshPhongMaterial, BoxGeometry, Vector3, Mesh, G
import { LoaderFactory } from "./loaders/LoaderFactory";
import { levelOfDetail } from './mixins/levelOfDetail';

/**
* Class for loading voxel data stored in various formats.
*/
class VoxelLoader {
/**
* Create a VoxelLoader.
* @classdesc Class for loading voxel data stored in various formats.
* @param {LoadingManager} manager
* @mixes levelOfDetail
*/
Expand Down
8 changes: 3 additions & 5 deletions src/loaders/ArrayLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ import { PointOctree } from "sparse-octree";
import autoBind from 'auto-bind';
import { levelOfDetail } from '../mixins/levelOfDetail';

/**
* Class for loading voxel data stored as a 3D array.
* @extends Loader
* @mixes levelOfDetail
*/
class ArrayLoader extends Loader {
/**
* Create an ArrayLoader.
* @classdesc Class for loading voxel data stored as a 3D array.
* @extends Loader
* @mixes levelOfDetail
* @param {LoadingManager} manager
*/
constructor(manager) {
Expand Down
6 changes: 2 additions & 4 deletions src/loaders/OctreeLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import { PointOctree } from "sparse-octree";
import autoBind from 'auto-bind';
import { levelOfDetail } from "../mixins/levelOfDetail";

/**
* Class for loading voxel data stored in a PointOctree.
* @mixes levelOfDetail
*/
class OctreeLoader {
/**
* Create a OctreeLoader.
* @classdesc Class for loading voxel data stored in a PointOctree.
* @mixes levelOfDetail
*/
constructor() {
autoBind(this);
Expand Down
8 changes: 3 additions & 5 deletions src/loaders/VOXLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ import { VoxReader, VoxNodeTools, VoxTools } from '@sh-dave/format-vox';
import { Vector4 } from 'math-ds';
import { levelOfDetail } from '../mixins/levelOfDetail';

/**
* Class for loading voxel data stored in VOX files.
* @extends Loader
* @mixes levelOfDetail
*/
class VOXLoader extends Loader {
/**
* Create a VOXLoader.
* @classdesc Class for loading voxel data stored in VOX files.
* @extends Loader
* @mixes levelOfDetail
* @param {LoadingManager} manager
*/
constructor(manager) {
Expand Down
8 changes: 3 additions & 5 deletions src/loaders/XMLLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ import { FileLoader, Loader, Vector3, LoadingManager } from 'three';
import { PointOctree } from "sparse-octree";
import { levelOfDetail } from '../mixins/levelOfDetail';

/**
* Class for loading voxel data stored in XML files.
* @extends Loader
* @mixes levelOfDetail
*/
class XMLLoader extends Loader {
/**
* Create a XMLLoader.
* @classdesc Class for loading voxel data stored in XML files.
* @extends Loader
* @mixes levelOfDetail
* @param {LoadingManager} manager
*/
constructor(manager) {
Expand Down

0 comments on commit e5eaf6c

Please sign in to comment.