This should really be:
```d
this.direction = shared vec3( direction );
```