File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -162,9 +162,10 @@ impl Mesh {
162
162
pub const ATTRIBUTE_UV_1 : MeshVertexAttribute =
163
163
MeshVertexAttribute :: new ( "Vertex_Uv_1" , 3 , VertexFormat :: Float32x2 ) ;
164
164
165
- /// The direction of the vertex tangent. Used for normal mapping.
166
- /// Usually generated with [`generate_tangents`](Mesh::generate_tangents) or
167
- /// [`with_generated_tangents`](Mesh::with_generated_tangents).
165
+ /// The direction of the vertex tangent, with the "handedness" (`1` or `-1`) in the `w` column.
166
+ /// Used for normal mapping. Usually generated with
167
+ /// [`compute_tangents`](Mesh::generate_tangents) or
168
+ /// [`with_computed_tangents`](Mesh::with_computed_tangents).
168
169
///
169
170
/// The format of this attribute is [`VertexFormat::Float32x4`].
170
171
pub const ATTRIBUTE_TANGENT : MeshVertexAttribute =
You can’t perform that action at this time.
0 commit comments