Commit 79b2b4ea authored by Simon Spannagel's avatar Simon Spannagel
Browse files

LiangBarsky: make inline

parent f8b2aba7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ namespace allpix {
     * @throws std::invalid_argument if no intersection of track segment with the box volume can be found in positive
     * direction from the given position.
     */
    ROOT::Math::XYZPoint LiangBarsky(const ROOT::Math::XYZVector& direction,
    inline ROOT::Math::XYZPoint LiangBarsky(const ROOT::Math::XYZVector& direction,
                                            const ROOT::Math::XYZPoint& position,
                                            const ROOT::Math::XYZVector& box) {