quaternions

command module
v0.0.0-...-90a1069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 3 Imported by: 0

README

Quaternions

One way to bring operator overloading to Go (within Lua), by embedding Lua.

Background

Go does not support operator overloading. This is especially painful when dealing with quaternions.

This project is an example for how to embed Lua and call Go code from Lua, in order to get to use operator overloading in Lua.

The downside of embedding any scripting language is a loss of performance, but the upside is that it's possible to use Go code and also use quaternions together with operator overloading.

General info

Documentation

Overview

Example code for getting closer to operator overloading in Go through employing Lua

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL