resonance 1.0.1
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
31Vector2 Intersect(const Ray &first, const Ray &second);
32
33} // namespace Rnd
The rendering engine.
Definition animhelper.h:3
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:10