Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::World::WindField Class Reference

This is the base class for a wind field. (An area in which a vector field pushes the player glider component) More...

#include <WindField.h>

Collaboration diagram for Engine::World::WindField:

Public Member Functions

WindSample sample (const glm::vec3 &worldPos, float timeSeconds) const
const WindFieldConfiggetConfig () const
WindFieldConfiggetConfig ()
void setConfig (const WindFieldConfig &config)
void drawDebugAround (const glm::vec3 &center, float timeSeconds) const

Private Attributes

WindFieldConfig config_

Detailed Description

This is the base class for a wind field. (An area in which a vector field pushes the player glider component)

Definition at line 57 of file WindField.h.

Member Function Documentation

◆ drawDebugAround()

void Engine::World::WindField::drawDebugAround ( const glm::vec3 & center,
float timeSeconds ) const

◆ getConfig() [1/2]

WindFieldConfig & Engine::World::WindField::getConfig ( )
inlinenodiscard

Definition at line 63 of file WindField.h.

References config_.

◆ getConfig() [2/2]

const WindFieldConfig & Engine::World::WindField::getConfig ( ) const
inlinenodiscard

Definition at line 62 of file WindField.h.

References config_.

◆ sample()

WindSample Engine::World::WindField::sample ( const glm::vec3 & worldPos,
float timeSeconds ) const
nodiscard

◆ setConfig()

void Engine::World::WindField::setConfig ( const WindFieldConfig & config)
inline

Definition at line 64 of file WindField.h.

References config_.

Member Data Documentation

◆ config_

WindFieldConfig Engine::World::WindField::config_
private

Definition at line 69 of file WindField.h.

Referenced by getConfig(), getConfig(), and setConfig().


The documentation for this class was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/World/WindField.h