Move variable declarations and usages closer together for clarity in SDK path.
Move variable declarations and usages closer together for clarity in SDK path.

petegodkin/OculusGL,jimbo00000/RiftSkeleton,petegodkin/OculusGL,jimbo00000/RiftSkeleton