Update handles.zig
This commit is contained in:
parent
e488cc384f
commit
22b4fe2e02
@ -59,7 +59,7 @@ pub fn Handles(comptime HandleType: type, comptime IndexType: type, comptime Ver
|
||||
}
|
||||
|
||||
pub fn extractId(_: Self, handle: HandleType) IndexType {
|
||||
return @truncate(IndexType, handle & @as(IndexType, registry.entity_traits.entity_mask));
|
||||
return @truncate(IndexType, handle & registry.entity_traits.entity_mask);
|
||||
}
|
||||
|
||||
pub fn extractVersion(_: Self, handle: HandleType) VersionType {
|
||||
|
Loading…
x
Reference in New Issue
Block a user