ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:length2d

This is an old revision of the document!


Table of Contents

length2d

fixed length2d(fixed x, fixed y)

Description

Returns the length of the given 2D vector.

This is a Zandronum replacement for VectorLength.

Example

Egyptian triangle:

length2d(3.0, 4.0) -> 5.0

See also

functions/length2d.1489605773.txt.gz · Last modified: 2017/03/15 21:22 by korshun