2,733
edits
Red Leader (talk | contribs) (Begin stub) |
Red Leader (talk | contribs) (Start) |
||
Line 1: | Line 1: | ||
{{WIP}} | {{WIP}} | ||
{{Nasal Navigation}} | {{Nasal Navigation}} | ||
This page contains documentation for the '''<code>geo</code> namespace''' in [[Nasal]]. This namespace provides various geography-related [[#Functions|functions]] and [[#Variables|variables]], as well the [[#Coord|main class]]. The <code>geo</code> namespace is sourced from {{fgdata file|Nasal/geo.nas}} | This page contains documentation for the '''<code>geo</code> namespace''' in [[Nasal]]. This namespace provides various geography/position-related [[#Functions|functions]] and [[#Variables|variables]], as well the [[#Coord|main class]]. The <code>geo</code> namespace is sourced from {{fgdata file|Nasal/geo.nas}} | ||
== Class == | == Class == | ||
=== Coord === | === Coord === | ||
{{Nasal doc | |||
|mode = class | |||
|source = {{fgdata file|Nasal/geo.nas|t=Source}} | |||
|text = The main class, used widely for storing and managing positional data. | |||
}} | |||
==== new() ==== | |||
{{Nasal doc | |||
|syntax = geo.Coord.new([coord]); | |||
|source = {{fgdata file|Nasal/geo.nas|t=Source}} | |||
|text = Constructor function. Returns a <code>geo.Coord</code> instance. | |||
|param1 = coord | |||
|param1text = An optional <code>geo.Coord</code> instance. If given, the returned instance will contain the values from this. | |||
}} | |||
== Functions == | == Functions == |