MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Clip0_Top

Method Clip0_Top

src/Engine/FastLineClip.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void FastLineClip::Clip0_Top(void)
29{
30 FC_xn = FC_xn + (FC_xk-FC_xn)*(Wytop-FC_yn)/(FC_yk-FC_yn);
31 FC_yn = Wytop;
32}
33
34void FastLineClip::Clip0_Right(void)
35{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected