123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- /* global QUnit */
- import { InstancedMesh } from '../../../../src/objects/InstancedMesh.js';
- import { Mesh } from '../../../../src/objects/Mesh.js';
- export default QUnit.module( 'Objects', () => {
- QUnit.module( 'InstancedMesh', () => {
- // INHERITANCE
- QUnit.test( 'Extending', ( assert ) => {
- var object = new InstancedMesh();
- assert.strictEqual( object instanceof Mesh, true, 'InstancedMesh extends from Mesh' );
- } );
- // INSTANCING
- QUnit.todo( 'Instancing', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- // PROPERTIES
- QUnit.todo( 'instanceMatrix', ( assert ) => {
- // InstancedBufferAttribute
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'instanceColor', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'count', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'frustumCulled', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- // PUBLIC STUFF
- QUnit.test( 'isInstancedMesh', ( assert ) => {
- const object = new InstancedMesh();
- assert.ok(
- object.isInstancedMesh,
- 'InstancedMesh.isInstancedMesh should be true'
- );
- } );
- QUnit.todo( 'copy', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'getColorAt', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'getMatrixAt', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'raycast', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'setColorAt', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'setMatrixAt', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'updateMorphTargets', ( assert ) => {
- // signature defined, no implementation
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'dispose', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- } );
- } );
|