Blender
V5.3
source
blender
gpu
shaders
common
gpu_shader_ray.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_compat.hh
"
8
9
/* General purpose 3D ray. */
10
struct
Ray
{
11
packed_float3
direction
;
12
float
max_time
;
13
packed_float3
origin
;
14
};
gpu_shader_compat.hh
Ray
Definition
gpu_shader_ray.bsl.hh:10
Ray::max_time
float max_time
Definition
gpu_shader_ray.bsl.hh:12
Ray::direction
packed_float3 direction
Definition
gpu_shader_ray.bsl.hh:11
Ray::origin
packed_float3 origin
Definition
gpu_shader_ray.bsl.hh:13
packed_float3
Definition
types_float3.h:176
Generated on
for Blender by
doxygen
1.18.0