9 case ERPCs.DIAG_CAMERATOOLS_CAM_DATA:
17 GetGame().RPCSingleParam(
p,
ERPCs.DIAG_CAMERATOOLS_CAM_DATA,
p4,
true,
p.GetIdentity());
24 case ERPCs.DIAG_CAMERATOOLS_CAM_SUBSCRIBE:
void OnRPC(ParamsReadContext ctx)
static Shape DrawFrustum(float horizontalAngle, float verticalAngle, float length, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.WIREFRAME)
Serialization general interface. Serializer API works with:
proto native CGame GetGame()
static proto void DirectionAndUpMatrix(vector dir, vector up, out vector mat[4])
Creates rotation matrix from direction and up vector.
static const float RAD2DEG