Skip to content

Commit 9aff472

Browse files
committed
bullet_physics_test: Docs.
1 parent a43be61 commit 9aff472

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/common/library.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ pub fn initWindow(allocator: *std.mem.Allocator, name: [*:0]const u8, width: u32
273273
w.user32.WS_MINIMIZEBOX;
274274

275275
var rect = w.RECT{ .left = 0, .top = 0, .right = @intCast(i32, width), .bottom = @intCast(i32, height) };
276-
// NOTE(mziulek): For exact FullHD window size it is better to stick to requested total window size (looks better on 1920x1080 displays).
276+
// HACK(mziulek): For exact FullHD window size it is better to stick to requested total window size (looks better on 1920x1080 displays).
277277
if (width != 1920 and height != 1080) {
278278
try w.user32.adjustWindowRectEx(&rect, style, false, 0);
279279
}

samples/bullet_physics_test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## virtual physics lab (Bullet physics test)
22

3-
[Video showing demo in action](https://www.youtube.com/watch?v=GUaaXHSfDTE)
3+
[Video showing demo in action](https://youtu.be/9Ri6xS2-9k8)
44

55
Demo consists of 4 scenes where user can interact and experiment with physics objects. In particular we show how to setup Newton's Cradle, simple machines with motors, hinges, sliders, etc. All basic properties like mass, friction, damping, gravity can be changed in real-time to observe how those affect object's behavior.
66

0 commit comments

Comments
 (0)