mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
+41
-8
@@ -124,6 +124,15 @@ function getIndexUnitStride (indexUnit: IndexUnit) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
function getIndexUnitCtor (indexUnit: IndexUnit) {
|
||||
switch (indexUnit) {
|
||||
case IndexUnit.UINT8: return Uint8Array;
|
||||
case IndexUnit.UINT16: return Uint16Array;
|
||||
case IndexUnit.UINT32: return Uint32Array;
|
||||
}
|
||||
return Uint8Array;
|
||||
}
|
||||
|
||||
export interface IVertexAttribute {
|
||||
/**
|
||||
* Attribute Name.
|
||||
@@ -222,6 +231,11 @@ export interface IPrimitive {
|
||||
*/
|
||||
vertexBundelIndices: number[];
|
||||
|
||||
/**
|
||||
* This primitive's topology.
|
||||
*/
|
||||
primitiveMode: GFXPrimitiveMode;
|
||||
|
||||
indices?: {
|
||||
/**
|
||||
* The indices data range of this primitive.
|
||||
@@ -234,10 +248,11 @@ export interface IPrimitive {
|
||||
indexUnit: IndexUnit;
|
||||
};
|
||||
|
||||
/**
|
||||
* This primitive's topology.
|
||||
*/
|
||||
primitiveMode: GFXPrimitiveMode;
|
||||
// for raycast purpose
|
||||
geomInfo?: {
|
||||
doubleSided?: boolean;
|
||||
range: IBufferRange;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -265,10 +280,18 @@ export interface IMeshStruct {
|
||||
maxPosition: Vec3;
|
||||
}
|
||||
|
||||
// for raycast purpose
|
||||
export type IBArray = Uint8Array | Uint16Array | Uint32Array;
|
||||
export interface IGeometricInfo {
|
||||
positions: Float32Array;
|
||||
indices: IBArray;
|
||||
doubleSided?: boolean;
|
||||
}
|
||||
|
||||
export interface IRenderingSubmesh {
|
||||
inputAssembler: GFXInputAssembler;
|
||||
primitiveMode: GFXPrimitiveMode;
|
||||
doubleSided?: boolean;
|
||||
geometricInfo?: IGeometricInfo;
|
||||
}
|
||||
|
||||
export class RenderingMesh {
|
||||
@@ -434,6 +457,7 @@ export class Mesh extends Asset {
|
||||
}
|
||||
|
||||
let indexBuffer: GFXBuffer | null = null;
|
||||
let ib: any = null;
|
||||
if (primitive.indices) {
|
||||
const indices = primitive.indices;
|
||||
|
||||
@@ -445,7 +469,9 @@ export class Mesh extends Asset {
|
||||
});
|
||||
indexBuffers.push(indexBuffer);
|
||||
|
||||
indexBuffer.update(new Uint8Array(buffer, indices.range.offset), 0, indices.range.length);
|
||||
ib = new (getIndexUnitCtor(indices.indexUnit))(buffer, indices.range.offset,
|
||||
indices.range.length / getIndexUnitStride(indices.indexUnit));
|
||||
indexBuffer.update(ib);
|
||||
}
|
||||
|
||||
const gfxAttributes: IGFXInputAttribute[] = [];
|
||||
@@ -464,20 +490,27 @@ export class Mesh extends Asset {
|
||||
});
|
||||
});
|
||||
|
||||
const referedVertexBuffers = primitive.vertexBundelIndices.map(
|
||||
const vbReference = primitive.vertexBundelIndices.map(
|
||||
(i) => vertexBuffers[i]);
|
||||
|
||||
const inputAssemblerInfo: IGFXInputAssemblerInfo = {
|
||||
attributes: gfxAttributes,
|
||||
vertexBuffers: referedVertexBuffers,
|
||||
vertexBuffers: vbReference,
|
||||
};
|
||||
if (indexBuffer) {
|
||||
inputAssemblerInfo.indexBuffer = indexBuffer;
|
||||
}
|
||||
|
||||
const geomInfo: any = primitive.geomInfo;
|
||||
if (geomInfo) {
|
||||
geomInfo.indices = ib;
|
||||
geomInfo.positions = new Float32Array(buffer, geomInfo.range.offset, geomInfo.range.length / 4);
|
||||
}
|
||||
|
||||
return {
|
||||
primitiveMode: primitive.primitiveMode,
|
||||
inputAssembler: gfxDevice.createInputAssembler(inputAssemblerInfo),
|
||||
geometricInfo: geomInfo,
|
||||
} as IRenderingSubmesh ;
|
||||
});
|
||||
|
||||
|
||||
+11
-1
@@ -1,4 +1,4 @@
|
||||
import { GFXAttributeName } from '../../gfx/define';
|
||||
import { GFXAttributeName, GFXPrimitiveMode } from '../../gfx/define';
|
||||
export { default as find } from '../../scene-graph/find';
|
||||
import Texture2D from '../../assets/texture-2d';
|
||||
import { Filter, PixelFormat, WrapMode } from '../../assets/texture-base';
|
||||
@@ -115,6 +115,16 @@ export function createMesh (geometry: IGeometry) {
|
||||
bufferBlob.addBuffer(indexBuffer);
|
||||
}
|
||||
|
||||
// geometric info for raycasting
|
||||
if (geometry.primitiveMode >= GFXPrimitiveMode.TRIANGLE_LIST) {
|
||||
const geomInfo = Float32Array.from(geometry.positions);
|
||||
primitive.geomInfo = {
|
||||
doubleSided: geometry.doubleSided,
|
||||
range: { offset: bufferBlob.getLength(), length: geomInfo.byteLength },
|
||||
};
|
||||
bufferBlob.addBuffer(geomInfo.buffer);
|
||||
}
|
||||
|
||||
// Create mesh struct.
|
||||
const meshStruct: IMeshStruct = {
|
||||
vertexBundles: [vertexBundle],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Vec3 } from '../../core/value-types';
|
||||
import { vec3 } from '../../core/vmath';
|
||||
import { GFXPrimitiveMode } from '../../gfx/define';
|
||||
import { IGeometry, IGeometryOptions } from './defines';
|
||||
import { IGeometry, IGeometryOptions } from './define';
|
||||
|
||||
interface IBoxOptions extends IGeometryOptions {
|
||||
/**
|
||||
|
||||
@@ -60,4 +60,9 @@ export interface IGeometry {
|
||||
* Vertex colors.
|
||||
*/
|
||||
colors?: number[];
|
||||
|
||||
/**
|
||||
* whether rays casting from the back face of this geometry could collide with it
|
||||
*/
|
||||
doubleSided?: boolean;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IGeometry } from './defines';
|
||||
import { IGeometry } from './define';
|
||||
|
||||
export function translate (geometry: IGeometry, offset: { x?: number; y?: number; z?: number; }) {
|
||||
const x = offset.x || 0;
|
||||
|
||||
+4
-3
@@ -279,16 +279,17 @@ export enum GFXPrimitiveMode {
|
||||
LINE_LIST,
|
||||
LINE_STRIP,
|
||||
LINE_LOOP,
|
||||
LINE_LIST_ADJACENCY,
|
||||
LINE_STRIP_ADJACENCY,
|
||||
ISO_LINE_LIST,
|
||||
// raycast detectable:
|
||||
TRIANGLE_LIST,
|
||||
TRIANGLE_STRIP,
|
||||
TRIANGLE_FAN,
|
||||
LINE_LIST_ADJACENCY,
|
||||
LINE_STRIP_ADJACENCY,
|
||||
TRIANGLE_LIST_ADJACENCY,
|
||||
TRIANGLE_STRIP_ADJACENCY,
|
||||
TRIANGLE_PATCH_ADJACENCY,
|
||||
QUAD_PATCH_LIST,
|
||||
ISO_LINE_LIST,
|
||||
}
|
||||
|
||||
export enum GFXPolygonMode {
|
||||
|
||||
@@ -118,7 +118,7 @@ export abstract class GFXInputAssembler extends GFXObject {
|
||||
public abstract initialize (info: IGFXInputAssemblerInfo): boolean;
|
||||
public abstract destroy (): void;
|
||||
|
||||
public getVertexBuffer (stream: number): GFXBuffer | null {
|
||||
public getVertexBuffer (stream: number = 0): GFXBuffer | null {
|
||||
if (stream < this._vertexBuffers.length) {
|
||||
return this._vertexBuffers[stream];
|
||||
} else {
|
||||
|
||||
@@ -3,6 +3,7 @@ import { GFXBuffer, GFXBufferSource, IGFXBufferInfo } from '../buffer';
|
||||
import { GFXCommandAllocator, IGFXCommandAllocatorInfo } from '../command-allocator';
|
||||
import { GFXCommandBuffer, IGFXCommandBufferInfo } from '../command-buffer';
|
||||
import {
|
||||
GFXAddress,
|
||||
GFXBindingType,
|
||||
GFXBufferTextureCopy,
|
||||
GFXBufferUsageBit,
|
||||
@@ -10,6 +11,7 @@ import {
|
||||
GFXFormat,
|
||||
GFXFormatInfos,
|
||||
GFXFormatSize,
|
||||
GFXPrimitiveMode,
|
||||
GFXQueueType,
|
||||
GFXTextureFlagBit,
|
||||
GFXTextureType,
|
||||
@@ -73,29 +75,29 @@ import { WebGLGFXTexture } from './webgl-texture';
|
||||
import { WebGLGFXTextureView } from './webgl-texture-view';
|
||||
import { WebGLGFXWindow } from './webgl-window';
|
||||
|
||||
const WebGLPrimitives: GLenum[] = [
|
||||
WebGLRenderingContext.POINTS,
|
||||
WebGLRenderingContext.LINES,
|
||||
WebGLRenderingContext.LINE_STRIP,
|
||||
WebGLRenderingContext.LINE_LOOP,
|
||||
WebGLRenderingContext.TRIANGLES,
|
||||
WebGLRenderingContext.TRIANGLE_STRIP,
|
||||
WebGLRenderingContext.TRIANGLE_FAN,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
WebGLRenderingContext.NONE,
|
||||
];
|
||||
const WebGLPrimitives = new Map([
|
||||
[ GFXPrimitiveMode.POINT_LIST, WebGLRenderingContext.POINTS ],
|
||||
[ GFXPrimitiveMode.LINE_LIST, WebGLRenderingContext.LINES ],
|
||||
[ GFXPrimitiveMode.LINE_LOOP, WebGLRenderingContext.LINE_LOOP ],
|
||||
[ GFXPrimitiveMode.LINE_STRIP, WebGLRenderingContext.LINE_STRIP ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_LIST, WebGLRenderingContext.TRIANGLES ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_STRIP, WebGLRenderingContext.TRIANGLE_STRIP ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_FAN, WebGLRenderingContext.TRIANGLE_FAN ],
|
||||
[ GFXPrimitiveMode.LINE_LIST_ADJACENCY, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.LINE_STRIP_ADJACENCY, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.ISO_LINE_LIST, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_LIST_ADJACENCY, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_STRIP_ADJACENCY, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.TRIANGLE_PATCH_ADJACENCY, WebGLRenderingContext.NONE ],
|
||||
[ GFXPrimitiveMode.QUAD_PATCH_LIST, WebGLRenderingContext.NONE ],
|
||||
]);
|
||||
|
||||
const WebGLWraps: GLenum[] = [
|
||||
WebGLRenderingContext.REPEAT,
|
||||
WebGLRenderingContext.MIRRORED_REPEAT,
|
||||
WebGLRenderingContext.CLAMP_TO_EDGE,
|
||||
WebGLRenderingContext.CLAMP_TO_EDGE,
|
||||
];
|
||||
const WebGLWraps = new Map([
|
||||
[ GFXAddress.WRAP, WebGLRenderingContext.REPEAT ],
|
||||
[ GFXAddress.MIRROR, WebGLRenderingContext.MIRRORED_REPEAT ],
|
||||
[ GFXAddress.CLAMP, WebGLRenderingContext.CLAMP_TO_EDGE ],
|
||||
[ GFXAddress.BORDER, WebGLRenderingContext.CLAMP_TO_EDGE ],
|
||||
]);
|
||||
|
||||
export class WebGLGFXDevice extends GFXDevice {
|
||||
|
||||
@@ -791,9 +793,9 @@ export class WebGLGFXDevice extends GFXDevice {
|
||||
glMagFilter = WebGLRenderingContext.NEAREST;
|
||||
}
|
||||
|
||||
const glWrapS = (info.addressU !== undefined ? WebGLWraps[info.addressU] : WebGLRenderingContext.REPEAT);
|
||||
const glWrapT = (info.addressU !== undefined ? WebGLWraps[info.addressU] : WebGLRenderingContext.REPEAT);
|
||||
const glWrapR = (info.addressU !== undefined ? WebGLWraps[info.addressU] : WebGLRenderingContext.REPEAT);
|
||||
const glWrapS = (info.addressU !== undefined ? WebGLWraps.get(info.addressU) : WebGLRenderingContext.REPEAT);
|
||||
const glWrapT = (info.addressU !== undefined ? WebGLWraps.get(info.addressU) : WebGLRenderingContext.REPEAT);
|
||||
const glWrapR = (info.addressU !== undefined ? WebGLWraps.get(info.addressU) : WebGLRenderingContext.REPEAT);
|
||||
|
||||
const gpuSampler: WebGLGPUSampler = {
|
||||
objType: WebGLGPUObjectType.SAMPLER,
|
||||
@@ -870,7 +872,7 @@ export class WebGLGFXDevice extends GFXDevice {
|
||||
|
||||
const gpuPipelineState: WebGLGPUPipelineState = {
|
||||
objType: WebGLGPUObjectType.PIPELINE_STATE,
|
||||
glPrimitive: WebGLPrimitives[info.primitive],
|
||||
glPrimitive: WebGLPrimitives.get(info.primitive),
|
||||
gpuShader,
|
||||
rs: info.rs,
|
||||
dss: info.dss,
|
||||
|
||||
@@ -265,9 +265,7 @@ export class Camera {
|
||||
/**
|
||||
* transform a screen position to a world space ray
|
||||
*/
|
||||
public screenPointToRay (x: number, y: number, out: ray): ray {
|
||||
out = out || ray.create();
|
||||
|
||||
public screenPointToRay (out: ray, x: number, y: number): ray {
|
||||
const cx = this._viewport.x * this._width;
|
||||
const cy = this._viewport.y * this._height;
|
||||
const cw = this._viewport.width * this._width;
|
||||
|
||||
@@ -159,6 +159,7 @@ export class Model {
|
||||
set subMeshData (sm: IRenderingSubmesh | null) {
|
||||
this._subMeshObject = sm;
|
||||
}
|
||||
|
||||
get subMeshData () {
|
||||
return this._subMeshObject;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { IBArray } from '../../3d/assets/mesh';
|
||||
import { intersect, ray, triangle } from '../../3d/geom-utils';
|
||||
import { RecyclePool } from '../../3d/memop';
|
||||
import { _createSceneFun, Root } from '../../core/root';
|
||||
import { Root } from '../../core/root';
|
||||
import { mat4, vec3 } from '../../core/vmath';
|
||||
import { GFXPrimitiveMode } from '../../gfx/define';
|
||||
import { Layers } from '../../scene-graph/layers';
|
||||
@@ -164,42 +165,25 @@ export class RenderScene {
|
||||
public raycast (worldRay: ray, mask: number = Layers.RaycastMask): IRaycastResult[] {
|
||||
pool.reset();
|
||||
for (const m of this._models) {
|
||||
const node = m.node;
|
||||
if (!cc.Layers.check(node.layer, mask) || !m.modelBounds) { continue; }
|
||||
// transform ray back to model space
|
||||
mat4.invert(m4, node.getWorldMatrix(m4));
|
||||
vec3.transformMat4(modelRay.o, worldRay.o, m4);
|
||||
vec3.normalize(modelRay.d, vec3.transformMat4Normal(modelRay.d, worldRay.d, m4));
|
||||
// broadphase
|
||||
distance = intersect.ray_aabb(modelRay, m.modelBounds);
|
||||
if (distance <= 0) { continue; }
|
||||
const subModel = m.subMeshData;
|
||||
if (!subModel || subModel.primitiveMode !== GFXPrimitiveMode.TRIANGLE_LIST) { continue; }
|
||||
const vbuffer = subModel.inputAssembler.getVertexBuffer(0);
|
||||
const ibuffer = subModel.inputAssembler.indexBuffer;
|
||||
if (!vbuffer || !vbuffer.buffer || !ibuffer || !ibuffer.buffer) { continue; }
|
||||
// narrowphase
|
||||
distance = Infinity;
|
||||
const vb = new Float32Array(vbuffer.buffer as ArrayBuffer);
|
||||
const ib = new Uint16Array(ibuffer.buffer as ArrayBuffer);
|
||||
const sides = subModel.doubleSided;
|
||||
for (let j = 0; j < ib.length; j += 3) {
|
||||
const i0 = ib[j] * 3;
|
||||
const i1 = ib[j + 1] * 3;
|
||||
const i2 = ib[j + 2] * 3;
|
||||
vec3.set(tri.a, vb[i0], vb[i0 + 1], vb[i0 + 2]);
|
||||
vec3.set(tri.b, vb[i1], vb[i1 + 1], vb[i1 + 2]);
|
||||
vec3.set(tri.c, vb[i2], vb[i2 + 1], vb[i2 + 2]);
|
||||
const dist = intersect.ray_triangle(modelRay, tri, sides);
|
||||
if (dist <= 0 || dist > distance) { continue; }
|
||||
distance = dist;
|
||||
}
|
||||
if (distance < Infinity) {
|
||||
const r = pool.add();
|
||||
r.node = node;
|
||||
r.distance = distance * vec3.magnitude(vec3.mul(v3, modelRay.d, node._scale));
|
||||
results[pool.length - 1] = r;
|
||||
}
|
||||
const node = m.node;
|
||||
if (!cc.Layers.check(node.layer, mask) || !m.modelBounds) { continue; }
|
||||
// transform ray back to model space
|
||||
mat4.invert(m4, node.getWorldMatrix(m4));
|
||||
vec3.transformMat4(modelRay.o, worldRay.o, m4);
|
||||
vec3.normalize(modelRay.d, vec3.transformMat4Normal(modelRay.d, worldRay.d, m4));
|
||||
// broadphase
|
||||
distance = intersect.ray_aabb(modelRay, m.modelBounds);
|
||||
if (distance <= 0) { continue; }
|
||||
const subModel = m.subMeshData;
|
||||
if (!subModel || !subModel.geometricInfo) { continue; }
|
||||
const { positions: vb, indices: ib, doubleSided: sides } = subModel.geometricInfo;
|
||||
narrowphase(vb, ib, subModel.primitiveMode, sides);
|
||||
if (distance < Infinity) {
|
||||
const r = pool.add();
|
||||
r.node = node;
|
||||
r.distance = distance * vec3.magnitude(vec3.mul(v3, modelRay.d, node._scale));
|
||||
results[pool.length - 1] = r;
|
||||
}
|
||||
}
|
||||
results.length = pool.length;
|
||||
return results;
|
||||
@@ -215,3 +199,49 @@ const pool = new RecyclePool(() => {
|
||||
return { node: null, distance: Infinity };
|
||||
}, 8);
|
||||
const results: IRaycastResult[] = [];
|
||||
|
||||
const narrowphase = (vb: Float32Array, ib: IBArray, pm: GFXPrimitiveMode, sides?: boolean) => {
|
||||
distance = Infinity;
|
||||
if (pm === GFXPrimitiveMode.TRIANGLE_LIST) {
|
||||
const cnt = ib.length;
|
||||
for (let j = 0; j < cnt; j += 3) {
|
||||
const i0 = ib[j] * 3;
|
||||
const i1 = ib[j + 1] * 3;
|
||||
const i2 = ib[j + 2] * 3;
|
||||
vec3.set(tri.a, vb[i0], vb[i0 + 1], vb[i0 + 2]);
|
||||
vec3.set(tri.b, vb[i1], vb[i1 + 1], vb[i1 + 2]);
|
||||
vec3.set(tri.c, vb[i2], vb[i2 + 1], vb[i2 + 2]);
|
||||
const dist = intersect.ray_triangle(modelRay, tri, sides);
|
||||
if (dist <= 0 || dist > distance) { continue; }
|
||||
distance = dist;
|
||||
}
|
||||
} else if (pm === GFXPrimitiveMode.TRIANGLE_STRIP) {
|
||||
const cnt = ib.length - 2;
|
||||
let rev = 0;
|
||||
for (let j = 0; j < cnt; j += 1) {
|
||||
const i0 = ib[j - rev] * 3;
|
||||
const i1 = ib[j + rev + 1] * 3;
|
||||
const i2 = ib[j + 2] * 3;
|
||||
vec3.set(tri.a, vb[i0], vb[i0 + 1], vb[i0 + 2]);
|
||||
vec3.set(tri.b, vb[i1], vb[i1 + 1], vb[i1 + 2]);
|
||||
vec3.set(tri.c, vb[i2], vb[i2 + 1], vb[i2 + 2]);
|
||||
rev = ~rev;
|
||||
const dist = intersect.ray_triangle(modelRay, tri, sides);
|
||||
if (dist <= 0 || dist > distance) { continue; }
|
||||
distance = dist;
|
||||
}
|
||||
} else if (pm === GFXPrimitiveMode.TRIANGLE_FAN) {
|
||||
const cnt = ib.length - 1;
|
||||
const i0 = ib[0] * 3;
|
||||
vec3.set(tri.a, vb[i0], vb[i0 + 1], vb[i0 + 2]);
|
||||
for (let j = 1; j < cnt; j += 1) {
|
||||
const i1 = ib[j] * 3;
|
||||
const i2 = ib[j + 1] * 3;
|
||||
vec3.set(tri.b, vb[i1], vb[i1 + 1], vb[i1 + 2]);
|
||||
vec3.set(tri.c, vb[i2], vb[i2 + 1], vb[i2 + 2]);
|
||||
const dist = intersect.ray_triangle(modelRay, tri, sides);
|
||||
if (dist <= 0 || dist > distance) { continue; }
|
||||
distance = dist;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
+11
-3
@@ -31,9 +31,9 @@
|
||||
<script>
|
||||
const $body = document.body;
|
||||
const bcr = $body.getBoundingClientRect();
|
||||
const cv = document.getElementById('canvas');
|
||||
cv.width = bcr.width;
|
||||
cv.height = bcr.height;
|
||||
const canv = document.getElementById('canvas');
|
||||
canv.width = bcr.width;
|
||||
canv.height = bcr.height;
|
||||
// window.addEventListener('resize', () => {
|
||||
// const bcr = $body.getBoundingClientRect();
|
||||
// cc.view.setCanvasSize(bcr.width, bcr.height);
|
||||
@@ -69,6 +69,14 @@
|
||||
modelCom.material = material;
|
||||
modelCom.mesh = cc.utils.createMesh(cc.primitives.box());
|
||||
|
||||
canv.addEventListener('mousemove', (e) => {
|
||||
if (!(e.buttons & 1)) return;
|
||||
const { clientX: x, clientY: y } = e;
|
||||
const ray = camComp.screenPointToRay(x, canv.height - y);
|
||||
const res = cc.director._scene._renderScene.raycast(ray);
|
||||
if (res.length) res.forEach((r) => console.log(r));
|
||||
})
|
||||
|
||||
cc.director.runSceneImmediate(scene);
|
||||
}
|
||||
cc.game.run({ id: 'canvas' }, onStart);
|
||||
|
||||
Reference in New Issue
Block a user