rotozoom

package
v0.0.0-...-9ae1339 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rotozoom Tutorial #10 - Efeitos Demoscene https://www.flipcode.com/archives/The_Art_of_Demomaking-Issue_10_Roto-Zooming.shtml

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rotozoom

type Rotozoom struct {
	// contains filtered or unexported fields
}

func (*Rotozoom) BlockTextureScreen

func (r *Rotozoom) BlockTextureScreen(buffer *image.RGBA, Ax, Ay, Bx, By, Cx, Cy int)

func (*Rotozoom) DoRotoZoom

func (r *Rotozoom) DoRotoZoom(buffer *image.RGBA, cx, cy, radius, angle float64)

func (*Rotozoom) Draw

func (r *Rotozoom) Draw(buffer *image.RGBA)

func (*Rotozoom) Setup

func (r *Rotozoom) Setup() (int, int, int)

Jump to

Keyboard shortcuts

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