naev 0.12.5
Node Struct Reference

Represents a node of an object. Each node can have multiple meshes and children nodes with an associated transformation. More...

#include <gltf.h>

Collaboration diagram for Node:

Data Fields

char * name
mat4 H
mat4 Horig
int mesh
size_t * children
size_t nchildren
GLfloat radius
vec3 aabb_min
vec3 aabb_max
int has_anim
NodeTransform nt
NodeTransform ntorig
void * data
struct Node_next

Detailed Description

Represents a node of an object. Each node can have multiple meshes and children nodes with an associated transformation.

Node in the thread queue.

Definition at line 105 of file gltf.h.

Field Documentation

◆ aabb_max

vec3 Node::aabb_max

Maximum value of AABB wrapping around it.

Definition at line 116 of file gltf.h.

◆ aabb_min

vec3 Node::aabb_min

Minimum value of AABB wrapping around it.

Definition at line 115 of file gltf.h.

◆ children

size_t* Node::children

Children nodes.

Definition at line 111 of file gltf.h.

◆ data

void* Node::data

The element in the list

Definition at line 54 of file threadpool.c.

◆ H

mat4 Node::H

Homogeneous transform.

Definition at line 107 of file gltf.h.

◆ has_anim

int Node::has_anim

Has an animation.

Definition at line 119 of file gltf.h.

◆ Horig

mat4 Node::Horig

Base homogeneous transform.

Definition at line 108 of file gltf.h.

◆ mesh

int Node::mesh

Associated Mesh.

Definition at line 109 of file gltf.h.

◆ name

char* Node::name

Name information.

Definition at line 106 of file gltf.h.

◆ nchildren

size_t Node::nchildren

Number of children mesh.

Definition at line 112 of file gltf.h.

◆ next

struct Node_* Node::next

The next node in the list

Definition at line 55 of file threadpool.c.

◆ nt

NodeTransform Node::nt

Animated transform.

Definition at line 120 of file gltf.h.

◆ ntorig

NodeTransform Node::ntorig

Original values.

Definition at line 121 of file gltf.h.

◆ radius

GLfloat Node::radius

Sphere fit on the model centered at 0,0.

Definition at line 114 of file gltf.h.


The documentation for this struct was generated from the following files: