File indexing completed on 2026-04-09 07:48:55
0001 #pragma once
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #ifdef DEBUG_CYLINDER
0032
0033 #include "scuda.h"
0034 #include "plog/Severity.h"
0035 #include <vector>
0036 #include "CSG_API_EXPORT.hh"
0037
0038 struct CSG_API CSGDebug_Cylinder
0039 {
0040 static constexpr const unsigned NUM_QUAD = 8u ;
0041 static constexpr const char* NAME = "CSGDebug_Cylinder.npy" ;
0042
0043 static const plog::Severity LEVEL ;
0044 static std::vector<CSGDebug_Cylinder> record ;
0045 static void Save(const char* dir);
0046
0047
0048 float3 ray_origin ;
0049 float rr ;
0050
0051 float3 ray_direction ;
0052 float k ;
0053
0054 float3 m ;
0055 float mm ;
0056
0057 float3 n ;
0058 float nn ;
0059
0060 float3 d ;
0061 float dd ;
0062
0063 float nd ;
0064 float md ;
0065 float mn ;
0066 float checkz ;
0067
0068 float a ;
0069 float b ;
0070 float c ;
0071 float disc ;
0072
0073 float4 isect ;
0074 };
0075
0076 #endif