rideFov関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The field of view, in degrees, of a riding camera at a zoom: the natural 60 divided by the zoom, held between 1.5 and 100 (a zoom of 40, the most a ride takes, is 1.5 degrees).
インポート
import { rideFov } from "@johnmorrisdotca/chikyu-earth/space";
定義
function rideFov(zoom: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
zoom | number | The shared controls' zoom. |
戻り値
number
The field of view in degrees.
例
import { rideFov } from "@johnmorrisdotca/chikyu-earth/space";
console.log(rideFov(1), rideFov(6), rideFov(100));60 10 1.5出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。