Open m-7761 opened 5 years ago
I will consider the memory alignment, Nolo Device HMD position is the hardware location of hmd, after we call SetHmdCenter(const NVector3 &hmdCenter); that will convert hmd pos to eye position, and set it in FixedEyePosition.
Thank you. So SetHmdCenter then is a vector from center of wearer's eyes to Nolo ball, correct? (I have wondered if it is to the center of the head or neck! or???)
It is a vector from the center of wearer's eyes to Nolo ball.
Thank you. It seems like a "dumb" question now! I guess the name "SetHmdCenter" led my imagination to runaway from me.
I think FixedEyePosition is stored at 16bit address, because of pack to 1 char, and "UCHAR leftPackNumber" and "UCHAR rightPackNumber;" are 16-bit.
#pragma pack(push,1)
removes padding after the two CHAR data.#pragma pack(push,4)
may be desirable to standardize for 32-bit and 64-bit.What is FixedEyePosition?