Skip to content

Commit f9e4710

Browse files
committed
Merge pull request #7 from unicomp21/master
fixing a couple issues flagged by dart editor 1.4.2
2 parents 9dd4b60 + d37eb7a commit f9e4710

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/src/node.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class Node extends Spatial {
2424
Spatial add( Node child)
2525
{
2626
children.add( child);
27+
return child;
2728
}
2829

2930
void animate( double elapsed)

lib/src/vector.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ class Vector {
189189
array[0] = _v[0] / _v[3];
190190
array[1] = _v[1] / _v[3];
191191
array[2] = _v[2] / _v[3];
192+
193+
return true;
192194
}
193195

194196
String toString() {

0 commit comments

Comments
 (0)