From 1b01a9274c7c65263ce90b04c0b80149eb6c72b7 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 11 Dec 2025 04:34:23 +0100 Subject: [PATCH] cellGem: clarify member descriptions --- rpcs3/Emu/Cell/Modules/cellGem.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGem.h b/rpcs3/Emu/Cell/Modules/cellGem.h index c70e2386ba..7dfdcb3b14 100644 --- a/rpcs3/Emu/Cell/Modules/cellGem.h +++ b/rpcs3/Emu/Cell/Modules/cellGem.h @@ -246,15 +246,15 @@ struct CellGemInfo // z increases towards user (away from the camera) struct CellGemState { - be_t pos[4]; // center of sphere (mm) - be_t vel[4]; // velocity of sphere (mm/s) - be_t accel[4]; // acceleration of sphere (mm/s²) + be_t pos[4]; // center of sphere in world coordinates (mm) + be_t vel[4]; // velocity of sphere in world coordinates (mm/s) + be_t accel[4]; // acceleration of sphere in world coordinates (mm/s²) be_t quat[4]; // quaternion orientation (x,y,z,w) of controller relative to default (facing the camera with buttons up) - be_t angvel[4]; // angular velocity of controller (radians/s) - be_t angaccel[4]; // angular acceleration of controller (radians/s²) - be_t handle_pos[4]; // center of controller handle (mm) - be_t handle_vel[4]; // velocity of controller handle (mm/s) - be_t handle_accel[4]; // acceleration of controller handle (mm/s²) + be_t angvel[4]; // angular velocity of controller in world coordinates (radians/s) + be_t angaccel[4]; // angular acceleration of controller in world coordinates (radians/s²) + be_t handle_pos[4]; // center of controller handle in world coordinates (mm) + be_t handle_vel[4]; // velocity of controller handle in world coordinates (mm/s) + be_t handle_accel[4]; // acceleration of controller handle in world coordinates (mm/s²) CellGemPadData pad; CellGemExtPortData ext; be_t timestamp; // system_time_t (microseconds)