[過去ログ]
【軽量】godot engine【無料】 part3 (1002レス)
【軽量】godot engine【無料】 part3 http://mevius.5ch.net/test/read.cgi/gamedev/1708131114/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
785: 名前は開発中のものです。 [sage] 2024/07/02(火) 09:05:04.55 ID:b/scUpaU https://godot-jp.github.io/reference/gdscript%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/%E6%95%B0%E5%80%A4%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/ それはintだよ つまりintはlong相当(64bit)、でもfloatは32bitでdoubleじゃない floatは有効桁数が約7桁、doubleは有効桁数が約15〜16桁 桁違うからすぐわかるよ http://mevius.5ch.net/test/read.cgi/gamedev/1708131114/785
787: 名前は開発中のものです。 [sage] 2024/07/02(火) 09:30:57.57 ID:KWyZHQ68 >>785 ありがとうございます そうなんですよね あちらこちらで書かれている内容が交錯していて ttps://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#float >float >Stores real numbers, including decimals, using floating-point values. It is stored as a 64-bit value, equivalent to double in C++. >Note: Currently, data structures such as Vector2, Vector3, and PackedFloat32Array store 32-bit single-precision float values. godot engine docs のほうでは "stored as a 64-bit value, equivalent to double in C++" と書かれていたりしますので…😥 Vector2/3の各要素の方はリビルドしないと32bit精度なのは分かるのですが… http://mevius.5ch.net/test/read.cgi/gamedev/1708131114/787
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
1.674s*