Format header to conform to style guide.

Also moves some types to the mjrender.h header.

PiperOrigin-RevId: 929189125
Change-Id: I19e5598210898c0defb663c60d7ecfb9a19bcd38
This commit is contained in:
Haroon Qureshi
2026-06-09 07:42:23 -07:00
committed by Copybara-Service
parent 991c131d59
commit e6e5229126
17 changed files with 549 additions and 521 deletions
+24
View File
@@ -10840,6 +10840,30 @@ STRUCTS: Mapping[str, StructDecl] = dict([
),
),
)),
('mjrVertexAttribute',
StructDecl(
name='mjrVertexAttribute',
declname='struct mjrVertexAttribute_',
fields=(
StructFieldDecl(
name='bytes',
type=PointerType(
inner_type=ValueType(name='void', is_const=True),
),
doc='vertex data',
),
StructFieldDecl(
name='usage',
type=ValueType(name='int'),
doc='mjrVertexAttributeUsage; e.g. position, normal, etc.',
),
StructFieldDecl(
name='type',
type=ValueType(name='int'),
doc='mjrVertexAttributeType; e.g. float3, ubyte4, etc.',
),
),
)),
('mjrContext',
StructDecl(
name='mjrContext',