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::Collectible Struct Reference

Public Types

enum class  Type { Saturn , Bird , Saturn , Bird }
enum class  Type { Saturn , Bird , Saturn , Bird }

Public Attributes

bool active = true
glm::vec3 hitCenterOffset {0.0f}
glm::vec3 position {0.0f}
float radius = 1.0f
glm::vec3 rotation {0.0f}
float rotationSpeed = 12.0f
glm::vec3 scale {1.0f}
Type type = Type::Saturn

Detailed Description

Definition at line 43 of file room.cpp.

Member Enumeration Documentation

◆ Type [1/2]

enum class walk::Collectible::Type
strong
Enumerator
Saturn 
Bird 
Saturn 
Bird 

Definition at line 44 of file room.cpp.

44 {
45 Saturn,
46 Bird,
47 };

◆ Type [2/2]

enum class walk::Collectible::Type
strong
Enumerator
Saturn 
Bird 
Saturn 
Bird 

Definition at line 46 of file room.cpp.

46 {
47 Saturn,
48 Bird,
49 };

Member Data Documentation

◆ active

bool walk::Collectible::active = true

Definition at line 56 of file room.cpp.

◆ hitCenterOffset

glm::vec3 walk::Collectible::hitCenterOffset {0.0f}

Definition at line 51 of file room.cpp.

51{0.0f};

◆ position

glm::vec3 walk::Collectible::position {0.0f}

Definition at line 50 of file room.cpp.

50{0.0f};

◆ radius

float walk::Collectible::radius = 1.0f

Definition at line 55 of file room.cpp.

◆ rotation

glm::vec3 walk::Collectible::rotation {0.0f}

Definition at line 52 of file room.cpp.

52{0.0f};

◆ rotationSpeed

float walk::Collectible::rotationSpeed = 12.0f

Definition at line 54 of file room.cpp.

◆ scale

glm::vec3 walk::Collectible::scale {1.0f}

Definition at line 53 of file room.cpp.

53{1.0f};

◆ type

Type walk::Collectible::type = Type::Saturn

Definition at line 49 of file room.cpp.


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