MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
walk::Projectile Struct Reference

Classes

struct  TrailPoint

Public Attributes

bool active = true
glm::vec3 direction {0.0f, 0.0f, -1.0f}
float distanceTraveled = 0.0f
float lifetime = 0.0f
float maxDistance = 160.0f
float maxLifetime = 10.0f
glm::vec3 position {0.0f}
float speed = 100.0f
std::vector< TrailPointtrail {}
float trailTimer = 0.0f

Detailed Description

Definition at line 59 of file room.cpp.

Member Data Documentation

◆ active

bool Projectile::active = true

Definition at line 73 of file room.cpp.

◆ direction

glm::vec3 Projectile::direction {0.0f, 0.0f, -1.0f}

Definition at line 67 of file room.cpp.

67{0.0f, 0.0f, -1.0f};

◆ distanceTraveled

float Projectile::distanceTraveled = 0.0f

Definition at line 71 of file room.cpp.

◆ lifetime

float Projectile::lifetime = 0.0f

Definition at line 69 of file room.cpp.

◆ maxDistance

float Projectile::maxDistance = 160.0f

Definition at line 72 of file room.cpp.

◆ maxLifetime

float Projectile::maxLifetime = 10.0f

Definition at line 70 of file room.cpp.

◆ position

glm::vec3 Projectile::position {0.0f}

Definition at line 66 of file room.cpp.

66{0.0f};

◆ speed

float Projectile::speed = 100.0f

Definition at line 68 of file room.cpp.

◆ trail

std::vector< TrailPoint > Projectile::trail {}

Definition at line 74 of file room.cpp.

74{};

◆ trailTimer

float Projectile::trailTimer = 0.0f

Definition at line 75 of file room.cpp.


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