MCPcopy Create free account
hub / github.com/cuberite/cuberite / CalcLineIntersection

Method CalcLineIntersection

src/BoundingBox.cpp:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247
248
249bool cBoundingBox::CalcLineIntersection(const Vector3d & a_Line1, const Vector3d & a_Line2, double & a_LineCoeff, eBlockFace & a_Face)
250{
251 return CalcLineIntersection(m_Min, m_Max, a_Line1, a_Line2, a_LineCoeff, a_Face);
252}
253
254
255

Callers 3

OnNextBlockMethod · 0.80
ItemMethod · 0.80
ItemMethod · 0.80

Calls 3

LineCoeffToXYPlaneMethod · 0.80
LineCoeffToXZPlaneMethod · 0.80
LineCoeffToYZPlaneMethod · 0.80

Tested by

no test coverage detected