Added a gif to readmegit add --all

This commit is contained in:
Martin committed 2025-01-24 15:03:20 +01:00
1 parent 5693dc8961
commit 6877e4e344
4 files changed
+16 -12

No files matched your search

+11 -11
View File
@@ -125,18 +125,18 @@ int Window::init(float* data) {
this->widget = new Widget(this->window);
// loop function for draw calls etc.
for (int i=296; i <= 306; i++) {
this->widget->date = i;
for (int j=0; j < 4; j++) {
Window::tick();
this->saveImage();
this->widget->timestep = j;
this->widget->datechanged = true;
}
}
// while (!glfwWindowShouldClose(window)) {
// Window::tick();
// for (int i=296; i <= 306; i++) {
// this->widget->date = i;
// for (int j=0; j < 4; j++) {
// this->widget->timestep = j;
// Window::tick();
// this->saveImage();
// this->widget->dateChanged = true;
// }
// }
while (!glfwWindowShouldClose(window)) {
Window::tick();
}
Window::free(data);
return 0;
+1 -1
View File
@@ -64,7 +64,7 @@ Widget::Widget(GLFWwindow* window) :
date(301),
samplesPerPixel(1),
alphaAcumLimit(0.3f),
opacityConst(53),
opacityConst(35),
showSilhouettes(false),
silhouettesThreshold(0.02f)
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.