pack Normal
static int packNormal(float x, float y, float z, float w)
Content copied to clipboard
Stores a normal plus an extra value as a quartet of signed bytes.This is the same normal format that vanilla item rendering expects.The extra value is for use by shaders.
Version of packNormal that accepts a vector type.