forked from buddhabrot/fusion-zauberstab
10 lines
198 B
C
10 lines
198 B
C
#pragma once
|
|
|
|
struct pt1_state {
|
|
float y_n1;
|
|
float K;
|
|
float T;
|
|
};
|
|
|
|
void pt1_init(struct pt1_state *state, float K, float T);
|
|
float pt1_update(struct pt1_state *state, float u, float dt); |