Skip to content

Commit

Permalink
DOC: fix broken links to Siggraph pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Mar 5, 2021
1 parent 0e39558 commit 70cd3b3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ option "verbose" v "Verbose execution"
option "config" - "Config file" string no
option "geometry" g "XML geometry file name" string yes
option "output" o "Output projections file name" string yes
option "axes" a "x,y,z. See http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter4.htm." double multiple yes
option "axes" a "x,y,z. See https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm." double multiple yes
option "center" c "x_0,y_0,z_0 Defines the center of the ellipsoid" double multiple no
option "mult" m "Multiplier for the intersection" double no default="1"
option "rotation" r "Rotation applied to the volume" double multiple no default="0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ option "verbose" v "Verbose execution"
option "config" - "Config file" string no
option "geometry" g "XML geometry file name" string yes
option "output" o "Output projections file name" string yes
option "parameters" p "A,B,C,D,E,F,G,H,I,J. See http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter4.htm." double multiple yes
option "parameters" p "A,B,C,D,E,F,G,H,I,J. See https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm." double multiple yes
option "mult" m "Multiplier for the intersection" double no default="1"
option "planes" - "Clip planes, n*4 parameters (3 for the normal, 4th for distance)" double multiple no
2 changes: 1 addition & 1 deletion include/rtkBoxShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class RTK_EXPORT BoxShape : public ConvexShape
IsInside(const PointType & point) const override;

/** See rtk::ConvexShape::IsIntersectedByRay for the goal and
* http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter4.htm
* https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm
* for the computation. */
bool
IsIntersectedByRay(const PointType & rayOrigin,
Expand Down
2 changes: 1 addition & 1 deletion include/rtkCudaIntersectBox.hcu
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct Ray
};

// Intersection function of a ray with a box, followed "slabs" method
// http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter3.htm
// https://education.siggraph.org/static/HyperGraph/raytrace/rtinter3.htm
// The function has to be explicitely inlined, otherwise "multiple definition" errors
// will pop during linking. See http://choorucode.com/2011/03/15/cuda-device-function-in-header-file/
// for more information
Expand Down
2 changes: 1 addition & 1 deletion include/rtkQuadricShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class RTK_EXPORT QuadricShape : public ConvexShape
IsInside(const PointType & point) const override;

/** See rtk::ConvexShape::IsIntersectedByRay for the goal and
* http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter4.htm
* https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm
* for the computation. */
bool
IsIntersectedByRay(const PointType & rayOrigin,
Expand Down
2 changes: 1 addition & 1 deletion src/rtkBoxShape.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ BoxShape ::IsIntersectedByRay(const PointType & rayOrigin,
// To account for m_Direction, everything (ray source and direction + boxmin/boxmax)
// is rotated with its inverse, m_DirectionT. Then, the box is aligned with the
// axes of the coordinate system and the algorithm at this hyperlink used:
// http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter3.htm
// https://education.siggraph.org/static/HyperGraph/raytrace/rtinter3.htm
// Note that the variables at this page have been renamed:
// BI <-> min
// Bh <-> max
Expand Down
2 changes: 1 addition & 1 deletion src/rtkQuadricShape.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ QuadricShape ::IsIntersectedByRay(const PointType & rayOrigin,
double & nearDist,
double & farDist) const
{
// http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter4.htm
// https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm
ScalarType Aq = m_A * rayDirection[0] * rayDirection[0] + m_B * rayDirection[1] * rayDirection[1] +
m_C * rayDirection[2] * rayDirection[2] + m_D * rayDirection[0] * rayDirection[1] +
m_E * rayDirection[0] * rayDirection[2] + m_F * rayDirection[1] * rayDirection[2];
Expand Down

0 comments on commit 70cd3b3

Please sign in to comment.