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

Method Clip1_Top

src/Engine/FastLineClip.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void FastLineClip::Clip1_Top(void)
53{
54 FC_xk = FC_xk + (FC_xn-FC_xk)*(Wytop-FC_yk)/(FC_yn-FC_yk);
55 FC_yk = Wytop;
56}
57
58void FastLineClip::Clip1_Right(void)
59{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected