Angle型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
An angle to look from: az degrees round from the windward side towards +X, el degrees above the horizon. Front is the windward, tiled side; back is the steel side.
インポート
import type { Angle } from "@johnmorrisdotca/uchusen-rockets";
定義
interface Angle {
az: number;
el: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
az | number | |
el | number |
例
import { VIEWS, type Angle } from "@johnmorrisdotca/uchusen-rockets";
const angle: Angle = VIEWS.back;
console.log(angle);{ az: 180, el: 3 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。