| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- /**
- * @author TristanVALCKE / https://github.com/Itee
- */
- /* global QUnit */
- import {
- ShapeGeometry,
- ShapeBufferGeometry
- } from '../../../../src/geometries/ShapeGeometry';
- import { Shape } from '../../../../src/extras/core/Shape';
- export default QUnit.module( 'Geometries', () => {
- QUnit.module( 'ShapeGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- var triangleShape = new Shape();
- triangleShape.moveTo( 0, - 1 );
- triangleShape.lineTo( 1, 1 );
- triangleShape.lineTo( - 1, 1 );
- geometries = [
- new ShapeGeometry( triangleShape )
- ];
- } );
- // INHERITANCE
- QUnit.todo( "Extending", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // INSTANCING
- QUnit.todo( "Instancing", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.todo( 'Standard geometry tests', ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- } );
- QUnit.module( 'ShapeBufferGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- var triangleShape = new Shape();
- triangleShape.moveTo( 0, - 1 );
- triangleShape.lineTo( 1, 1 );
- triangleShape.lineTo( - 1, 1 );
- geometries = [
- new ShapeBufferGeometry( triangleShape )
- ];
- } );
- // INHERITANCE
- QUnit.todo( "Extending", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // INSTANCING
- QUnit.todo( "Instancing", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.todo( 'Standard geometry tests', ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- } );
- } );
|