Open Marco3jp opened 2 years ago
https://github.com/Marco3jp/GameForMeProject/blob/14cfa0920abc312e9c5138a30e863eaaa473d6af/src/service/reflection.ts#L14-L16
壁も
const correctedWallAngle = wall.angle % 360
ってしてあげたほうが安全かも
https://github.com/Marco3jp/GameForMeProject/blob/14cfa0920abc312e9c5138a30e863eaaa473d6af/src/service/reflection.ts#L14-L16