struct
Ray
- Module
- Math
- Header
#include "Math/Math.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
Vec3 | origin | |
Vec3 | direction |
Constructors
| Signature | Name | Description |
|---|---|---|
Ray() : origin(0, 0, 0), direction(0, 0, -1) | Ray | |
Ray(const Vec3& orig, const Vec3& dir) : origin(orig), direction(dir.Normalized(… | Ray |
Public functions
| Returns | Name | Description |
|---|---|---|
Vec3 | GetPoint |
Function details
Ray
C++
Ray() : origin(0, 0, 0), direction(0, 0, -1)Ray
C++
Ray(const Vec3& orig, const Vec3& dir) : origin(orig), direction(dir.Normalized())GetPoint
C++
Vec3 GetPoint(float distance) constGenerated from Math/Math.h via math.json · Nov 4, 2026Version 1.0.0