1#ifndef FLOATING_ENERGY_SPHERE_WIDGET_H
2#define FLOATING_ENERGY_SPHERE_WIDGET_H
6#include <QElapsedTimer>
9#include <QOpenGLBuffer>
10#include <QOpenGLWidget>
12#include <QOpenGLFunctions_3_3_Core>
13#include <QOpenGLVertexArrayObject>
15#include <QtMultimedia/QAudioDecoder>
16#include <QtMultimedia/QAudioBuffer>
21class QOpenGLShaderProgram;
27 QVector3D
point = QVector3D(0, 0, 0);
94 void resizeGL(
int w,
int h)
override;
Structure holding information about a single impact effect on the sphere.
Definition floating_energy_sphere_widget.h:25
float start_time
Time (from time_value_) when the impact started. -1.0f if inactive.
Definition floating_energy_sphere_widget.h:29
QVector3D point
Point of impact in local sphere coordinates (normalized).
Definition floating_energy_sphere_widget.h:27
bool active
Flag indicating if this impact slot is currently active.
Definition floating_energy_sphere_widget.h:31