triro
1.3.0
A Python Ray-Mesh Intersector in OptiX
Loading...
Searching...
No Matches
type.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
hmesh
{
6
7
template
<
typename
T,
int
N>
struct
vec
{ T
p
[N]; };
8
9
using
vec2i
=
vec<int32_t, 2>
;
10
using
vec2f
=
vec<float, 2>
;
11
using
vec3i
=
vec<int32_t, 3>
;
12
using
vec3f
=
vec<float, 3>
;
13
14
}
// namespace hmesh
hmesh
Definition
base.cpp:13
hmesh::vec
Definition
type.h:7
hmesh::vec::p
T p[N]
Definition
type.h:7
triro
backend
type.h
Generated by
1.9.8