profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ziglibs/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
ZigLibs ziglibs Community-driven library development

ziglibs/known-folders 66

Provides access to well-known folders across several operating systems

ziglibs/zgl 46

Zig OpenGL Wrapper

ziglibs/repository 39

A community-maintained repository of zig packages

ziglibs/zlm 36

Zig linear mathemathics

ziglibs/zig-lv2 29

Zig-intuitive bindings for LV2.

ziglibs/ansi-term 23

Zig library for dealing with ANSI terminals

ziglibs/zinput 19

A Zig command-line input library!

ziglibs/positron 18

A web renderer frontend for zig applications

ziglibs/funzig 12

Fun functional functionality for Zig!

ziglibs/painterz 11

Low-level implementation of different painting primitives (lines, rectangles, ...) without specialization on a certain draw target

startedziglibs/known-folders

started time in 5 hours

startedziglibs/positron

started time in 3 days

startedziglibs/zinput

started time in 4 days

startedziglibs/known-folders

started time in 6 days

startedziglibs/positron

started time in 11 days

startedziglibs/positron

started time in 11 days

startedziglibs/zlm

started time in 11 days

issue closedziglibs/zlm

matrix's mul method doesn't respect column-major rule

Hi guys, I'm experimenting opengl using zlm, and the matrix part confuses me a little. If my understanding is right, zlm's matrix is using column-major style like glm/opengl, as utility functions like createLookAt/createPerspective are token from glm. However, the mul method of matrix is using row-major style instead, which is bit confusing and caused different mul order when composing mvp matrix:

  • in glm: mvp = project * view * model

  • in zlm: mvp = model.mul(view).mul(project)

Is it an accident or by design?

closed time in 15 days

Jack-Ji

issue commentziglibs/zlm

matrix's mul method doesn't respect column-major rule

Got it, thanks!

Jack-Ji

comment created time in 15 days

issue commentziglibs/zlm

matrix's mul method doesn't respect column-major rule

This is by-design, as this is the "natural" transformation order (you first transform by the model, then by the view, then by projection)

Jack-Ji

comment created time in 15 days

startedziglibs/repository

started time in 15 days

issue openedziglibs/zlm

matrix's mul method doesn't respect column-major rule

Hi guys, I'm experimenting opengl using zlm, and the matrix part confuses me a little. If my understanding is right, zlm's matrix is using column-major style like glm, as utility functions like createLookAt/createPerspective are token from glm. However, the mul method of matrix is using row-major style instead, which is bit confusing and caused different mul order when composing mvp matrix:

  • in glm: mvp = project * view * model

  • in zlm: mvp = model.mul(view).mul(project)

Is it an accident or by design?

created time in 15 days

push eventziglibs/zlm

Felix "xq" Queißner

commit sha f77fad4db0c93128327aba9bfa1347221e1b1d8b

Implements all, eql, eqlApproxAbs, eqlApproxRel

view details

push time in 15 days

PR opened ziglibs/zgl

Update to new usingnamespace semantics
+221 -220

0 comment

1 changed file

pr created time in 15 days

push eventziglibs/zlm

Felix "xq" Queißner

commit sha 5c8c2d4026290772fcb441982cb778fdcdd335cf

Implements lerp.

view details

push time in 15 days

startedziglibs/zgl

started time in 18 days

push eventziglibs/zinput

Sashiri

commit sha 0622255c35a8fbe7d09c8d45f357cec776bd2e3a

Fix variable reference to output stream

view details

push time in 19 days

PR merged ziglibs/zinput

Fix variable reference to output stream

Hi! This commit fixes undeclared identifier 'cw' error in newer version of zig compiler ;D

+1 -1

0 comment

1 changed file

Sashiri

pr closed time in 19 days

PR opened ziglibs/zinput

Fix variable reference to output stream

Hi! This commit fixes undeclared identifier 'cw' error in newer version of zig compiler ;D

+1 -1

0 comment

1 changed file

pr created time in 19 days

fork Sashiri/zinput

A Zig command-line input library!

fork in 19 days

startedziglibs/painterz

started time in 20 days

push eventziglibs/zlm

Felix "xq" Queißner

commit sha 8ce5645dfe780bca354e9738145ac273afcbf384

Update to latest master, refactors out tests.

view details

push time in 20 days

push eventziglibs/lscolors

joachimschmidt557

commit sha 5fb4b9810a2ca19e6203af65de2d603df60c7bf8

Update to latest zig trunk

view details

push time in 21 days

startedziglibs/positron

started time in 23 days

issue closedziglibs/zgl

Inability to pass null to bufferData/namedBufferData

A null pointer can be used to create an uninitialized buffer, however zgl's wrappers do not support this. I propose changing the signatures like this:

pub fn bufferData(target: BufferTarget, comptime T: type, count: usize, items: ?[*]align(1) const T, usage: BufferUsage)

(and in the corresponding manner for namedBufferData)

This allows passing slices using bufferData(target, T, slice.len, slice.ptr, usage), and allows creating uninitialized buffers using bufferData(target, T, length, null, usage).

This has the disadvantage that the API becomes less clear for the usual case. Another alternative would be to create a separate wrapper function for creating uninitialized buffers, but this seems cluttered to me.

closed time in 24 days

vktec

push eventziglibs/zgl

Caleb

commit sha 23f15c3a95ccd74a7bf24e7a4a98c7a9264a2a54

Add bufferUninitialized & namedBufferUninitialized

view details

push time in 24 days

PR merged ziglibs/zgl

Add bufferUninitialized & namedBufferUninitialized

Follow up to #35

+20 -0

0 comment

1 changed file

BanchouBoo

pr closed time in 24 days

PR closed ziglibs/zgl

Allow null for bufferData and namedBufferData

Closes #23

+6 -6

2 comments

1 changed file

BanchouBoo

pr closed time in 24 days

pull request commentziglibs/zgl

Allow null for bufferData and namedBufferData

Made a new PR #36 that uses separate functions for uninitialized buffers

BanchouBoo

comment created time in 24 days

PR opened ziglibs/zgl

Add bufferUninitialized & namedBufferUninitialized

Follow up to #35

+20 -0

0 comment

1 changed file

pr created time in 24 days