-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
PxClientID is a typedef used for IDs assigned by PxScene. Right now I'm pretty sure that they don't get translated at all (or maybe they're completely untyped.)
We should transform the PxClientID typedef from this:
typedef PxU8 PxClientID;
static const PxClientID PX_DEFAULT_CLIENT = 0;
static const PxClientID PX_MAX_CLIENTS = 128;Into something like this:
struct PxClientID
{
public readonly ubyte Id;
private PxClientId(ubyte id)
=> Id = id;
//TODO: Operators?
public static readonly PxClientID Default = new PxClientID(0);
public static readonly PxClientID MaxValue = new PxClientId(128);
}Metadata
Metadata
Assignees
Labels
No labels