isodi v0.5.0 (2022-07-20T17:47:10Z)
Dub
Repo
Skeleton.boneColor
isodi
skeleton
Skeleton
Get a representative color for the bone based on its index. Useful for debugging.
struct
Skeleton
static
@
trusted
=>
ColorFromHSV
(
i
* 35 % 360,
saturation
,
value
)
Color
boneColor
(
size_t
i
,
float
saturation
= 0.6
,
float
value
= 0.9
)
Meta
Source
See Implementation
isodi
skeleton
Skeleton
functions
addBone
drawBoneLines
drawBoneNormals
globalMatrices
makeModel
matrixImage
matrixImageData
static functions
boneColor
variables
atlas
bones
properties
seed
Get a representative color for the bone based on its index. Useful for debugging.