Lumino
ln::Ray Struct Reference

レイを定義します。 More...

#include <Geometries.hpp>

Public Member Functions

 Ray ()
 各要素に 0.0 を設定してインスタンスを初期化します。
 
 Ray (const Vector3 &origin, const Vector3 &direction)
 各要素を指定してインスタンスを初期化します。 More...
 

Public Attributes

Vector3 origin
 レイの始点
 
Vector3 direction
 レイの方向
 
float distance
 レイの長さ (default: Inf)
 

Detailed Description

レイを定義します。

Constructor & Destructor Documentation

◆ Ray()

ln::Ray::Ray ( const Vector3 origin,
const Vector3 direction 
)

各要素を指定してインスタンスを初期化します。

Parameters
[in]origin: レイの始点
[in]direction: レイの方向

The documentation for this struct was generated from the following file: