@@ -1286,7 +1286,7 @@ pub const DebugRenderer = if (!debug_renderer_enabled) extern struct {} else ext
1286
1286
1287
1287
pub fn Methods (comptime T : type ) type {
1288
1288
return extern struct {
1289
- pub inline fn drawLine (self : * T , from : * const [3 ]Real , to : * const [3 ]Real , color : * const Color ) void {
1289
+ pub inline fn drawLine (self : * T , from : * const [3 ]Real , to : * const [3 ]Real , color : Color ) void {
1290
1290
return @as (* const DebugRenderer .VTable (T ), @ptrCast (self .__v ))
1291
1291
.drawLine (
1292
1292
@as (* const T , @ptrCast (self )),
@@ -1300,7 +1300,7 @@ pub const DebugRenderer = if (!debug_renderer_enabled) extern struct {} else ext
1300
1300
v1 : * const [3 ]Real ,
1301
1301
v2 : * const [3 ]Real ,
1302
1302
v3 : * const [3 ]Real ,
1303
- color : * const Color ,
1303
+ color : Color ,
1304
1304
) void {
1305
1305
return @as (* const DebugRenderer .VTable (T ), @ptrCast (self .__v ))
1306
1306
.drawTriangle (
@@ -1388,14 +1388,14 @@ pub const DebugRenderer = if (!debug_renderer_enabled) extern struct {} else ext
1388
1388
self : * T ,
1389
1389
from : * const [3 ]Real ,
1390
1390
to : * const [3 ]Real ,
1391
- color : * const Color ,
1391
+ color : Color ,
1392
1392
) callconv (.C ) void = null ,
1393
1393
drawTriangle : ? * const fn (
1394
1394
self : * T ,
1395
1395
v1 : * const [3 ]Real ,
1396
1396
v2 : * const [3 ]Real ,
1397
1397
v3 : * const [3 ]Real ,
1398
- color : * const Color ,
1398
+ color : Color ,
1399
1399
) callconv (.C ) void = null ,
1400
1400
createTriangleBatch : ? * const fn (
1401
1401
self : * T ,
@@ -4999,7 +4999,7 @@ const test_cb1 = struct {
4999
4999
self : * MyDebugRenderer ,
5000
5000
from : * const [3 ]Real ,
5001
5001
to : * const [3 ]Real ,
5002
- color : * const DebugRenderer.Color ,
5002
+ color : DebugRenderer.Color ,
5003
5003
) callconv (.C ) void {
5004
5004
_ = self ;
5005
5005
_ = from ;
@@ -5011,7 +5011,7 @@ const test_cb1 = struct {
5011
5011
v1 : * const [3 ]Real ,
5012
5012
v2 : * const [3 ]Real ,
5013
5013
v3 : * const [3 ]Real ,
5014
- color : * const DebugRenderer.Color ,
5014
+ color : DebugRenderer.Color ,
5015
5015
) callconv (.C ) void {
5016
5016
_ = self ;
5017
5017
_ = v1 ;
0 commit comments