AGXDynamics
2.35.0.3
include/agxGL/Util.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGXGL_UTIL_H
18
#define AGXGL_UTIL_H
19
20
#include <
agx/Vec3.h
>
21
#include <
agx/Line.h
>
22
#include <
agx/AffineMatrix4x4.h
>
23
24
namespace
agxGL
25
{
26
27
agx::UInt
AGXPHYSICS_EXPORT
generateBoxLines
(
agx::Vec3f
min
,
agx::Vec3f
max
,
agx::Line32
* lines,
agx::UInt
lineIndex);
28
29
30
agx::UInt
AGXPHYSICS_EXPORT
generateBoxLines
(
const
agx::Vec3f
&
min
,
const
agx::Vec3f
&
max
,
const
agx::AffineMatrix4x4f
&
transform
,
31
agx::Line32
* lines,
agx::UInt
lineIndex );
32
33
}
34
35
36
#endif
/* AGXGL_UTIL_H */
agxData::transform
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
agx::AffineMatrix4x4T
Matrix class for rigid transformations (translation, rotation).
Definition:
AffineMatrix4x4.h:52
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
AffineMatrix4x4.h
Vec3.h
Line.h
agx::min
Vec3T< T > min(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
Definition:
Vec3Template.h:880
agx::LineT
Definition:
Line.h:25
agx::UInt
uint32_t UInt
Definition:
Integer.h:34
agxGL
This namespace contains OpenGL specific details for connecting OpenCL/OpenGL.
agx::Vec3T< Real32 >
agx::max
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
Definition:
Vec3Template.h:874
agxGL::generateBoxLines
agx::UInt AGXPHYSICS_EXPORT generateBoxLines(agx::Vec3f min, agx::Vec3f max, agx::Line32 *lines, agx::UInt lineIndex)
include
agxGL
Util.h
Generated on Fri Feb 10 2023 14:06:19 for AGXDynamics by
1.8.17