diff options
| author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-09-02 21:05:43 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-09-02 21:05:43 -0700 |
| commit | 9f5e81327be33489d9bb912de503cd01d6ba7dca (patch) | |
| tree | 913d1d3ca9acd4d13e8f952d2c812c63868cc574 /static/src/vector.ts | |
| parent | d35ab6cc851d3fc85f55cfb5676f8dc3552fab24 (diff) | |
| download | kennel.hatecomputers.club-9f5e81327be33489d9bb912de503cd01d6ba7dca.tar.gz kennel.hatecomputers.club-9f5e81327be33489d9bb912de503cd01d6ba7dca.zip | |
get it compiling
Diffstat (limited to 'static/src/vector.ts')
| -rw-r--r-- | static/src/vector.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/src/vector.ts b/static/src/vector.ts index 96bd721..29e62df 100644 --- a/static/src/vector.ts +++ b/static/src/vector.ts @@ -1,7 +1,7 @@ export class Vec2 { constructor( - private readonly x: number, - private readonly y: number, + public readonly x: number, + public readonly y: number, ) {} public distance_to(that: Vec2): number { |
