mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 17:46:47 +02:00
Bump ViewFrustum packet version
This commit is contained in:
parent
a283d28686
commit
2ad948c462
2 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,8 @@ PacketVersion versionForPacketType(PacketType packetType) {
|
|||
return 18; // replace min_avatar_scale and max_avatar_scale with min_avatar_height and max_avatar_height
|
||||
case PacketType::Ping:
|
||||
return static_cast<PacketVersion>(PingVersion::IncludeConnectionID);
|
||||
case PacketType::ViewFrustum:
|
||||
return static_cast<PacketVersion>(ViewFrustumVersion::SendMultipleFrustums);
|
||||
default:
|
||||
return 20;
|
||||
}
|
||||
|
|
|
@ -328,4 +328,8 @@ enum class PingVersion : PacketVersion {
|
|||
IncludeConnectionID = 18
|
||||
};
|
||||
|
||||
enum class ViewFrustumVersion : PacketVersion {
|
||||
SendMultipleFrustums = 21
|
||||
};
|
||||
|
||||
#endif // hifi_PacketHeaders_h
|
||||
|
|
Loading…
Reference in a new issue