Remove more (dead) Streaming code
This commit is contained in:
@@ -227,8 +227,8 @@ getViewpoints p w =
|
||||
gameRoomViewpoints :: Point2 -> GameRoom -> [Point2]
|
||||
{-# INLINE gameRoomViewpoints #-}
|
||||
gameRoomViewpoints p gr =
|
||||
(_grViewpoints gr)
|
||||
<> map extend ((_grViewpointsEx gr) <> map addDir (_grLinkDirs gr))
|
||||
_grViewpoints gr
|
||||
<> map extend (_grViewpointsEx gr <> map addDir (_grLinkDirs gr))
|
||||
where
|
||||
extend outp = p +.+ maxViewDistance *.* squashNormalizeV (outp -.- p)
|
||||
addDir a = p +.+ unitVectorAtAngle a
|
||||
|
||||
Reference in New Issue
Block a user