unpack.vertex.coords: Unpack vertex coords from Q1 0-255 representation.

View source: R/read_model_mdl.R

unpack.vertex.coordsR Documentation

Unpack vertex coords from Q1 0-255 representation.

Description

Unpack vertex coords from Q1 0-255 representation.

Usage

unpack.vertex.coords(coords_packed, mdl_header)

Arguments

coords_packed

matrix of n x 3 integers in range 0..255, the packed coords from an MDL file.

mdl_header

MDL header or named list, only the fields 'header$scale' and 'header$origin' are used.


dfsp-spirit/wal documentation built on Feb. 5, 2024, 1:59 p.m.