20 lines
524 B
Zig
20 lines
524 B
Zig
pub var NeonObjectTable: core.EngineObjectVTable = core.EngineObjectVTable.from(@This(), "testing.sampleSubsystem");
|
|
|
|
allocator: std.mem.Allocator = undefined,
|
|
scene: *anyopaque = undefined,
|
|
setPositionPtr: *const anyopaque = undefined,
|
|
|
|
pub fn init(self: *@This(), allocator: std.mem.Allocator, first: bool) !void {
|
|
if (!first) {
|
|
return;
|
|
}
|
|
|
|
self.* = .{
|
|
.allocator = allocator,
|
|
};
|
|
}
|
|
|
|
const exampleScene = @import("exampleScene.zig");
|
|
const core = @import("core");
|
|
const std = @import("std");
|