mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-10-31 17:00:17 +00:00 
			
		
		
		
	...
This commit is contained in:
		
							parent
							
								
									305743530b
								
							
						
					
					
						commit
						2e4a248e2c
					
				| @ -4,6 +4,8 @@ | ||||
| #include "pocketpy/common/utils.h" | ||||
| #include "pocketpy/pocketpy.h" | ||||
| 
 | ||||
| #include <stdarg.h> | ||||
| 
 | ||||
| /* string */ | ||||
| typedef struct c11_string{ | ||||
|     // int size | char[] | '\0'
 | ||||
|  | ||||
| @ -22,15 +22,13 @@ typedef struct c11_vec3 { | ||||
|     float z; | ||||
| } c11_vec3; | ||||
| 
 | ||||
| typedef struct c11_mat3x3 { | ||||
|     union { | ||||
|         struct { | ||||
|             float _11, _12, _13; | ||||
|             float _21, _22, _23; | ||||
|             float _31, _32, _33; | ||||
|         }; | ||||
| 
 | ||||
|         float m[3][3]; | ||||
|         float data[9]; | ||||
| typedef union c11_mat3x3 { | ||||
|     struct { | ||||
|         float _11, _12, _13; | ||||
|         float _21, _22, _23; | ||||
|         float _31, _32, _33; | ||||
|     }; | ||||
| 
 | ||||
|     float m[3][3]; | ||||
|     float data[9]; | ||||
| } c11_mat3x3; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user