15 lines
No EOL
396 B
GLSL
15 lines
No EOL
396 B
GLSL
/*
|
|
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 {
|
|
vec3 origin;
|
|
vec3 direction;
|
|
};
|
|
#endif |