package Ġworld . ce pi . k st om . util Ċ Ċ import Ġnet . min est om . server . coordinate . Point Ċ import Ġnet . min est om . server . coordinate . Pos Ċ import Ġnet . min est om . server . coordinate . Vec Ċ import Ġnet . min est om . server . entity . Entity Ċ import Ġnet . min est om . server . entity . Player Ċ import Ġorg . checker framework . checker . units . qual . degrees Ċ import Ġkotlin . math . PI Ċ Ċ operator Ġfun ĠPos . component 4 () Ġ= Ġthis . yaw () Ċ operator Ġfun ĠPos . component 5 () Ġ= Ġthis . pitch () Ċ Ċ operator Ġfun ĠPoint . component 1 () Ġ= Ġthis . x () Ċ operator Ġfun ĠPoint . component 2 () Ġ= Ġthis . y () Ċ operator Ġfun ĠPoint . component 3 () Ġ= Ġthis . z () Ċ Ċ operator Ġfun ĠEntity . component 1 () Ġ= Ġthis . position . x () Ċ operator Ġfun ĠEntity . component 2 () Ġ= Ġthis . position . y () Ċ operator Ġfun ĠEntity . component 3 () Ġ= Ġthis . position . z () Ċ Ċ fun ĠPoint . as Vec (): ĠVec Ġ= ĠVec ( this . x (), Ġthis . y (), Ġthis . z ()) Ċ Ċ fun ĠVec . rotate Around X Degrees ( degrees : ĠDouble ) Ġ= Ġrotate Around X ( degrees Ġ* Ġ( PI / 1 8 0 )) Ċ fun ĠVec . rotate Around Y Degrees ( degrees : ĠDouble ) Ġ= Ġrotate Around Y ( degrees Ġ* Ġ( PI / 1 8 0 )) Ċ fun ĠVec . rotate Around Z Degrees ( degrees : ĠDouble ) Ġ= Ġrotate Around Z ( degrees Ġ* Ġ( PI / 1 8 0 )) Ċ Ċ fun ĠVec . rotate Degrees ( degrees X : ĠDouble , Ġdegrees Y : ĠDouble , Ġdegrees Z : ĠDouble ) Ġ= ĊĠĠĠ Ġrotate ( degrees X Ġ* Ġ( PI / 1 8 0 ), Ġdegrees Y Ġ* Ġ( PI / 1 8 0 ), Ġdegrees Z Ġ* Ġ( PI / 1 8 0 ))