group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HudKillerBox Struct Reference

Killcam killer marker — the killer's world AABB + nickname, used on the death screen to float the killer's name above them while awaiting respawn. More...

#include <HudTypes.hpp>

Public Attributes

bool valid = false
 True while the killcam is tracking a killer.
glm::vec3 center {0.f}
 Killer AABB center in world space.
glm::vec3 halfExtents {0.f}
 Killer AABB half-extents in world space.
std::string name
 Killer's display nickname.

Detailed Description

Killcam killer marker — the killer's world AABB + nickname, used on the death screen to float the killer's name above them while awaiting respawn.

(The red wallhack silhouette itself is drawn by the 3D renderer.)

Member Data Documentation

◆ center

glm::vec3 HudKillerBox::center {0.f}

Killer AABB center in world space.

◆ halfExtents

glm::vec3 HudKillerBox::halfExtents {0.f}

Killer AABB half-extents in world space.

◆ name

std::string HudKillerBox::name

Killer's display nickname.

◆ valid

bool HudKillerBox::valid = false

True while the killcam is tracking a killer.


The documentation for this struct was generated from the following file: