Skip to content

Commit c632fcf

Browse files
committed
[共通] fix document
1 parent a729ae8 commit c632fcf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Siv3D/include/Siv3D/UnicodeConverter.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ namespace s3d
7070
{
7171
public:
7272

73-
/// @brief データを追加します
74-
/// @param code 変換用の UTF-32 データ
75-
/// @return 作成された UTF-8 データのサイズ
73+
/// @brief コードポイントを設定します
74+
/// @param code 変換する UTF-32 コードポイント
75+
/// @return 作成された UTF-8 データのサイズ(1 以上 4 以下)
7676
[[nodiscard]]
7777
size_t put(char32 code) noexcept;
7878

@@ -96,9 +96,9 @@ namespace s3d
9696
{
9797
public:
9898

99-
/// @brief データを追加します
100-
/// @param code 変換用の UTF-32 データ
101-
/// @return `get()` で文字を取得可能になった場合 true, それ以外の場合は false
99+
/// @brief コードポイントを設定します
100+
/// @param code 変換する UTF-32 コードポイント
101+
/// @return 作成された UTF-16 文字のサイズ(1 または 2)
102102
[[nodiscard]]
103103
size_t put(char32 code) noexcept;
104104

Siv3D/include/Siv3D/Vector2D.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ namespace s3d
132132
[[nodiscard]]
133133
constexpr bool epsilonEquals(Vector2D other, value_type epsilon) const noexcept;
134134

135-
/// @brief 指定した別のベクトルとのなす角が 180 ° 未満であるかを返します。
135+
/// @brief 指定した別のベクトルとのなす角が 90° 未満であるかを返します。
136136
/// @param other 別のベクトル
137-
/// @return 別のベクトルとのなす角が 180 ° 未満である場合 true, それ以外の場合は false
137+
/// @return 別のベクトルとのなす角が 90° 未満である場合 true, それ以外の場合は false
138138
[[nodiscard]]
139139
constexpr bool hasSameDirection(Vector2D other) const noexcept;
140140

141-
/// @brief 指定した別のベクトルとのなす角が 180 ° より大きいかを返します。
141+
/// @brief 指定した別のベクトルとのなす角が 90° より大きいかを返します。
142142
/// @param other 別のベクトル
143-
/// @return 別のベクトルとのなす角が 180 ° より大きい場合 true, それ以外の場合は false
143+
/// @return 別のベクトルとのなす角が 90° より大きい場合 true, それ以外の場合は false
144144
[[nodiscard]]
145145
constexpr bool hasOppositeDirection(Vector2D other) const noexcept;
146146

0 commit comments

Comments
 (0)