Skip to content

Commit

Permalink
Add vec2 object into dgl
Browse files Browse the repository at this point in the history
  • Loading branch information
myshov committed Dec 8, 2015
1 parent 1c2079b commit a24882b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Expand Up @@ -19,7 +19,7 @@ import Plane from './math/Plane';
import Box from './math/Box';
import * as math from './math/Math';
import Line3 from './math/Line3';
import {vec3, mat3, mat4, quat, glMatrix} from 'gl-matrix';
import {vec3, mat3, vec2, mat4, quat, glMatrix} from 'gl-matrix';

// with Float32Array we have errors with raycast
glMatrix.ARRAY_TYPE = (typeof Float64Array !== 'undefined') ? Float64Array : Array;
Expand Down Expand Up @@ -48,6 +48,7 @@ const dgl = {
Math: math,
vec3,
mat3,
vec2,
mat4,
quat
};
Expand Down

0 comments on commit a24882b

Please sign in to comment.