Skip to content

applejag/firefly-go-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game math library for Firefly Go SDK

NO AI Go Reference REUSE status

Complementary library to firefly-go and tinymath containing math utilities not found in the other packages.

Contains tools like ffrand, a reimplementation of the Go math/rand that is built upon the firefly.GetRandom() function instead.

The ffmath package contains utility functions, and are using generics extensively. Mostly as an experiment on generics usage, and because it's fun :) I have compared the compiled output with non-generic variants to confirm that the generic ones does not cause any regressions, even though they use quirky hacks like switch x := any(a).(type)

Installation

go get github.com/applejag/firefly-go-math

License

This project conforms to the REUSE standard. Different parts of the code base use different licenses.

In general:

About

Go game math library for Firefly Zero

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages