15 lines
No EOL
400 B
HLSL
15 lines
No EOL
400 B
HLSL
/*
|
|
contributors: Patricio Gonzalez Vivo
|
|
description: Generic Ray Structure
|
|
license:
|
|
- Copyright (c) 2021 Patricio Gonzalez Vivo under Prosperity License - https://prosperitylicense.com/versions/3.0.0
|
|
- Copyright (c) 2021 Patricio Gonzalez Vivo under Patron License - https://lygia.xyz/license
|
|
*/
|
|
|
|
#ifndef STR_RAY
|
|
#define STR_RAY
|
|
struct Ray {
|
|
float3 origin;
|
|
float3 direction;
|
|
};
|
|
#endif |