wavelength 1.0.0
Loading...
Searching...
No Matches
ray.h
Go to the documentation of this file.
1#pragma once
2
3#include "math/vector2.h"
4
5namespace Rnd {
6
18
30Vector2 Intersect(const Ray &first, const Ray &second);
31
32} // namespace Rnd
Definition gfxtunnel.h:41
Vector2 Intersect(const Ray &first, const Ray &second)
Find where two lines in a plane cross.
Line in a plane, given as a point on it and its direction.
Definition ray.h:14
Vector2 mDirection
Definition ray.h:16
Vector2 mPoint
Definition ray.h:15
Two-component vector, used for texture coordinates.
Definition vector2.h:12