VISU - PHP Game Framework

Ray
in package

Table of Contents

Properties

$direction  : Vec3
$origin  : Vec3

Methods

__construct()  : mixed
Constructs a Ray
copy()  : Ray
pointAt()  : Vec3

Properties

$direction

public Vec3 $direction

$origin

public Vec3 $origin

Methods

__construct()

Constructs a Ray

public __construct(Vec3 $origin, Vec3 $direction) : mixed
Parameters
$origin : Vec3
$direction : Vec3

pointAt()

public pointAt(float $distance) : Vec3
Parameters
$distance : float
Return values
Vec3

        
On this page

Search results