aboutsummaryrefslogtreecommitdiff
path: root/src/sfml/graphics/vertex.zig
blob: 97b25f5ef9170b343624b6bc810c3a680fa37071 (plain)
1
2
3
4
5
6
7
8
9
//! Define a point with color and texture coordinates.

const sf = @import("../sfml.zig");

pub const Vertex = packed struct {
    position: sf.system.Vector2f,
    color: sf.graphics.Color,
    tex_coords: sf.system.Vector2f,
};