mouserotation

command
v0.0.0-...-f174bb4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: MIT Imports: 5 Imported by: 0

README

MouseRotation Demo

What does it do?

It demonstrates how one can rotate the camera, using the middle mouse button.

For doing so, it created a green background. This way, you'll notice the rotation.

What are important aspects of the code?

These lines are key in this demo:

  • w.AddSystem(&common.MouseRotator{rotationSpeed}), to enable the scrolling with the mouse wheel.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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