Foundation
Loading...
Searching...
No Matches
Editor
Scene
Curve.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
Renderer/Curve.hpp
>
3
4
// One tapered line segment prior to DOTS bake (from glTF LINES + _RADIUS).
5
struct
FImportedCurveSegment
6
{
7
float3
p0
;
8
float
r0
;
9
float3
p1
;
10
float
r1
;
11
float
u0
;
12
float
u1
;
13
};
14
15
struct
FImportedCurve
16
{
17
Vector<FImportedCurveSegment>
segments
;
18
19
FImportedCurve
(
Allocator
* alloc) :
segments
(alloc) {}
20
};
Curve.hpp
Foundation::Core::Allocator
Allocator interface (noexcept)
Definition
Allocator.hpp:29
Foundation::Core::Vector
std::vector< T, StlAllocator< T > > Vector
std::vector with explicit Foundation::Core::StlAllocator constructor
Definition
Container.hpp:149
Foundation::Math::float3
vec3 float3
Definition
Math.hpp:26
FImportedCurveSegment
Definition
Curve.hpp:6
FImportedCurveSegment::p1
float3 p1
Definition
Curve.hpp:9
FImportedCurveSegment::r1
float r1
Definition
Curve.hpp:10
FImportedCurveSegment::p0
float3 p0
Definition
Curve.hpp:7
FImportedCurveSegment::r0
float r0
Definition
Curve.hpp:8
FImportedCurveSegment::u1
float u1
Definition
Curve.hpp:12
FImportedCurveSegment::u0
float u0
Definition
Curve.hpp:11
FImportedCurve
Definition
Curve.hpp:16
FImportedCurve::FImportedCurve
FImportedCurve(Allocator *alloc)
Definition
Curve.hpp:19
FImportedCurve::segments
Vector< FImportedCurveSegment > segments
Definition
Curve.hpp:17
Generated by
1.9.8