Skip to content

Instantly share code, notes, and snippets.

View nianxy's full-sized avatar

Xingyan Nian nianxy

  • China
  • 23:53 (UTC +08:00)
View GitHub Profile
#include <stdio.h>
external int add(int a, int b);
int main() {
printf("result:%d\n", add(1,2));
}
@nianxy
nianxy / test.html
Created November 23, 2023 06:03
Test of Threejs sRGB texture update
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>sRGB Demo</title>
<style>
body {
/* overflow: hidden; */