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 @@ -163,9 +163,10 @@ impl Mesh {
163163 pub const ATTRIBUTE_UV_1 : MeshVertexAttribute =
164164 MeshVertexAttribute :: new ( "Vertex_Uv_1" , 3 , VertexFormat :: Float32x2 ) ;
165165
166- /// The direction of the vertex tangent. Used for normal mapping.
167- /// Usually generated with [`generate_tangents`](Mesh::generate_tangents) or
168- /// [`with_generated_tangents`](Mesh::with_generated_tangents).
166+ /// The direction of the vertex tangent, with the "handedness" (`1` or `-1`) in the `w` column.
167+ /// Used for normal mapping. Usually generated with
168+ /// [`compute_tangents`](Mesh::generate_tangents) or
169+ /// [`with_computed_tangents`](Mesh::with_computed_tangents).
169170 ///
170171 /// The format of this attribute is [`VertexFormat::Float32x4`].
171172 pub const ATTRIBUTE_TANGENT : MeshVertexAttribute =
You can’t perform that action at this time.
0 commit comments