scimesh 0.3.2
Headless CPU-only 3D software renderer for scientific mesh visualization
Loading...
Searching...
No Matches
scimesh::ClipVertex Struct Reference

A processed vertex in clip space, ready for perspective divide. More...

#include <clipping.h>

Collaboration diagram for scimesh::ClipVertex:

Public Attributes

Vec4 position
 Homogeneous clip-space position (before divide by w).
 
Color color
 Vertex color.
 
Vec3 normal
 Vertex normal (in view space).
 
Vec2 uv
 Texture coordinates.
 

Detailed Description

A processed vertex in clip space, ready for perspective divide.

Used internally by the clipping functions. Holds the full set of per-vertex attributes needed after clipping.

Definition at line 20 of file clipping.h.

Member Data Documentation

◆ color

Color scimesh::ClipVertex::color

Vertex color.

Definition at line 22 of file clipping.h.

◆ normal

Vec3 scimesh::ClipVertex::normal

Vertex normal (in view space).

Definition at line 23 of file clipping.h.

◆ position

Vec4 scimesh::ClipVertex::position

Homogeneous clip-space position (before divide by w).

Definition at line 21 of file clipping.h.

◆ uv

Vec2 scimesh::ClipVertex::uv

Texture coordinates.

Definition at line 24 of file clipping.h.


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