This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Any, ClassVar | |
from typing import overload | |
import collections | |
import enum | |
import importlib._bootstrap | |
class APIInspector(SwigPyObject): | |
this: Any | |
thisown: Any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void TriangleTile_float( | |
float2 UV, | |
float Scale, | |
out float Triangle, | |
out float2 TrianglePosition | |
) | |
{ | |
#define N Scale | |
float2 p = UV; | |
p.x *= 0.86602; // sqrt(3)/2倍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void HexagonTile_float( | |
float2 UV, | |
float Scale, | |
out float Hexagon, // 六角形 | |
out float2 HexPos, // 六角形の位置 | |
out float2 HexUV, // 六角形内のUVを出力 | |
out float2 HexIndex // 六角形の番号 | |
) | |
{ | |
/////////////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' this Command fires a ray down the +Z axis of a locator at a mesh | |
and selects any poly that the ray intersects | |
does not yet handle animated positions | |
Command format: | |
shootRay LocatorName MeshName ''' | |
NAME_CMD_SHOOTRAY = "shootRay" | |
NAME_ARG_LOCATOR = "StrLocatorName" | |
NAME_ARG_MESH = "StrMeshName" |