group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
gamemap::SpawnPoint Struct Reference

A player spawn point: world position plus an authored facing yaw. More...

#include <MapConfig.hpp>

Public Attributes

glm::vec3 pos {0.0f}
float yaw = 0.0f
 Facing direction in radians (matches InputSnapshot.yaw: 0 = +Z, atan2(fwd.x, fwd.z)).

Detailed Description

A player spawn point: world position plus an authored facing yaw.

Member Data Documentation

◆ pos

glm::vec3 gamemap::SpawnPoint::pos {0.0f}

◆ yaw

float gamemap::SpawnPoint::yaw = 0.0f

Facing direction in radians (matches InputSnapshot.yaw: 0 = +Z, atan2(fwd.x, fwd.z)).


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