| 1 | package Math::3Space::Vector; | ||
| 2 | |||
| 3 | 8 | our $VERSION = '0.008'; # VERSION | |
| 4 | # ABSTRACT: Object wrapping a buffer of three doubles | ||
| 5 | |||
| 6 | 8 | ▶ | use Exporter 'import'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 8 | our @EXPORT_OK= qw( vec3 ); | |
| 8 | |||
| 9 | # All methods handled by XS | ||
| 10 | 8 | require Math::3Space; | |
| 11 | |||
| 12 | 8 | ▶ | use overload '""' => sub { "[@{[$_[0]->xyz]}]" }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 8 | 1; | |
| 15 | |||
| 16 | __END__ | ||