Skip to content

Commit

Permalink
testing other latex
Browse files Browse the repository at this point in the history
  • Loading branch information
christyquang authored Mar 19, 2024
1 parent 1835387 commit 38da14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h3 align="middle">Task 2: Intersecting the Bounding Box</h3>
</p>

<p>
Time is represented as $$t = \frac{{p_x' - o_x}}{{d_x}}$$ when perpendicular to the x axis. Intersection times (<code>t</code>) are calculated for each axis using the parametric equation of a ray, where $t = \frac{{p[axis] - o[axis]}}{{d[axis}}$. This equation represents the intersection of the ray with each of the bounding box's six planes along the <code>X</code>, <code>Y</code>, and <code>Z</code> axes. The minimum and maximum intersection times (<code>min_t</code> and <code>max_t</code>) are calculated for each axis which represent the entry and exit points of the ray into and out of the bounding box along each axis. Specifically, the interval of intersection is determined by taking the maximum of the minimum intersection times (<code>min_t</code>) across all axes and the minimum of the maximum intersection times (<code>max_t</code>) across all axes, ensuring that the intersection interval is as tight as possible.
Time is represented as $$t = \frac{{p_x' - o_x}}{{d_x}}$$ when perpendicular to the x axis. Intersection times (<code>t</code>) are calculated for each axis using the parametric equation of a ray, where \( t = \frac{{p[\text{axis}] - o[\text{axis}]}}{{d[\text{axis}]}} \). This equation represents the intersection of the ray with each of the bounding box's six planes along the <code>X</code>, <code>Y</code>, and <code>Z</code> axes. The minimum and maximum intersection times (<code>min_t</code> and <code>max_t</code>) are calculated for each axis which represent the entry and exit points of the ray into and out of the bounding box along each axis. Specifically, the interval of intersection is determined by taking the maximum of the minimum intersection times (<code>min_t</code>) across all axes and the minimum of the maximum intersection times (<code>max_t</code>) across all axes, ensuring that the intersection interval is as tight as possible.
</p>

<p>
Expand Down

0 comments on commit 38da14f

Please sign in to comment.