mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
8 lines
No EOL
132 B
PHP
8 lines
No EOL
132 B
PHP
<?php
|
|
|
|
class VectorMath{
|
|
|
|
public static function getDirection2D($azimuth){
|
|
return new Vector2(cos($azimuth), sin($azimuth));
|
|
}
|
|
} |