- Mesh upload support
- LLMesh asset decoding and encoding (inc. LLPhysicsConvex, LLSkin, LLSubMesh) - Query inventory folder by type - onSelectedObject event - fetchInventoryItem command - Fix packing/unpacking of object shape - Time sync with SimulatorViewerTimeMessage - Changed several classes to a .from style rather than setting up in the constructor (exception friendly) - Whole bunch of other improvements - Object building
This commit is contained in:
21
lib/classes/public/interfaces/LLSubMesh.ts
Normal file
21
lib/classes/public/interfaces/LLSubMesh.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import {Vector3} from '../../Vector3';
|
||||
import {Vector2} from '../../Vector2';
|
||||
|
||||
export interface LLSubMesh
|
||||
{
|
||||
noGeometry?: true,
|
||||
position?: Vector3[],
|
||||
positionDomain?: {
|
||||
min: Vector3,
|
||||
max: Vector3
|
||||
},
|
||||
normal?: Vector3[],
|
||||
texCoord0?: Vector2[],
|
||||
texCoord0Domain?: {
|
||||
min: Vector2,
|
||||
max: Vector2
|
||||
}
|
||||
triangleList?: number[],
|
||||
weights?: {[key: number]: number}[],
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user