HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ImathGLU.h
Go to the documentation of this file.
1
//
2
// SPDX-License-Identifier: BSD-3-Clause
3
// Copyright Contributors to the OpenEXR Project.
4
//
5
6
//
7
// Convenience functions that call GLU with Imath types
8
//
9
10
#ifndef INCLUDED_IMATHGLU_H
11
#define INCLUDED_IMATHGLU_H
12
13
#include <GL/gl.h>
14
#include <GL/glu.h>
15
16
#include "
ImathVec.h
"
17
18
/// Call gluLookAt with the given position, interest, and up-vector.
19
inline
void
20
gluLookAt
(
21
const
IMATH_INTERNAL_NAMESPACE::V3f
& pos,
22
const
IMATH_INTERNAL_NAMESPACE::V3f
& interest,
23
const
IMATH_INTERNAL_NAMESPACE::V3f
& up)
24
{
25
gluLookAt
(
26
pos.x,
27
pos.y,
28
pos.z,
29
interest.x,
30
interest.y,
31
interest.z,
32
up.x,
33
up.y,
34
up.z);
35
}
36
37
#endif
ImathVec.h
V3f
Vec3< float > V3f
Vec3 of float.
Definition:
ImathVec.h:1064
gluLookAt
void gluLookAt(const IMATH_INTERNAL_NAMESPACE::V3f &pos, const IMATH_INTERNAL_NAMESPACE::V3f &interest, const IMATH_INTERNAL_NAMESPACE::V3f &up)
Call gluLookAt with the given position, interest, and up-vector.
Definition:
ImathGLU.h:20
Imath
ImathGLU.h
Generated on Thu Jul 16 2026 02:12:33 for HDK by
1.8.6