Home
last modified time | relevance | path

Searched refs:normalPtr (Results 1 – 19 of 19) sorted by relevance

/dports/games/avp/avp-20170505/src/avp/
H A Ddecal.h96 extern void MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int module…
97 extern void AddDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int moduleI…
101 extern void AddDecalToHModel(VECTORCH *normalPtr, VECTORCH *positionPtr, struct section_data *secti…
H A Ddecal.c533 void MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int moduleIndex) in MakeDecal() argument
536 AddDecal(decalID,normalPtr,positionPtr,moduleIndex); in MakeDecal()
548 AddNetMsg_MakeDecal(decalID,normalPtr,positionPtr,moduleIndex); in MakeDecal()
617 void AddDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int moduleIndex) in AddDecal() argument
627 MakeMatrixFromDirection(normalPtr,&orientation); in AddDecal()
717 if (normalPtr->vy<-32768) in AddDecal()
952 void AddDecalToHModel(VECTORCH *normalPtr, VECTORCH *positionPtr, SECTION_DATA *sectionDataPtr) in AddDecalToHModel() argument
972 VECTORCH n = *normalPtr; in AddDecalToHModel()
H A Dparticle.h188 extern void MakeImpactSparks(VECTORCH *incidentPtr, VECTORCH *normalPtr, VECTORCH *positionPtr);
H A Dparticle.c4348 void MakeImpactSparks(VECTORCH *incidentPtr, VECTORCH *normalPtr, VECTORCH *positionPtr) in MakeImpactSparks() argument
4352 int d = -2*DotProduct(incidentPtr,normalPtr); in MakeImpactSparks()
4353 velocity.vx = (incidentPtr->vx + MUL_FIXED(d,normalPtr->vx))>>3; in MakeImpactSparks()
4354 velocity.vy = (incidentPtr->vy + MUL_FIXED(d,normalPtr->vy))>>3; in MakeImpactSparks()
4355 velocity.vz = (incidentPtr->vz + MUL_FIXED(d,normalPtr->vz))>>3; in MakeImpactSparks()
H A Ddynamics.c183 static int WhichNRBBVertex(DYNAMICSBLOCK *dynPtr, VECTORCH *normalPtr);
4173 static int WhichNRBBVertex(DYNAMICSBLOCK *dynPtr, VECTORCH *normalPtr) in WhichNRBBVertex() argument
4177 dir.vx = -normalPtr->vx; in WhichNRBBVertex()
4178 dir.vy = -normalPtr->vy; in WhichNRBBVertex()
4179 dir.vz = -normalPtr->vz; in WhichNRBBVertex()
/dports/math/vtk6/VTK-6.2.0/Rendering/OpenGL2/
H A DvtkglVBOHelper.cxx74 T2 *normalPtr; in TemplatedAppendVBO3() local
84 normalPtr = normals + (cellPointMap[i]-1)*3; in TemplatedAppendVBO3()
91 normalPtr = normals + i*3; in TemplatedAppendVBO3()
103 normalPtr = normals + pointCellMap[i]*3; in TemplatedAppendVBO3()
105 *(it++) = *(normalPtr++); in TemplatedAppendVBO3()
106 *(it++) = *(normalPtr++); in TemplatedAppendVBO3()
107 *(it++) = *(normalPtr++); in TemplatedAppendVBO3()
/dports/misc/usd/USD-21.11/pxr/imaging/hdx/
H A DpickFromRenderBufferTask.cpp190 uint8_t *normalPtr = _normal ? in Execute() local
261 reinterpret_cast<int32_t*>(normalPtr), in Execute()
287 if (normalPtr) in Execute()
/dports/graphics/quesa/quesa-1.8/Source/Renderers/Interactive/
H A DIRGeometry.c699 TQ3Vector3D triNormal, *normalPtr; in IRGeometry_Submit_Triangle() local
735 normalPtr = NULL; in IRGeometry_Submit_Triangle()
738normalPtr = (TQ3Vector3D *) Q3XAttributeSet_GetPointer(geomData->triangleAttributeSet, kQ3Attribut… in IRGeometry_Submit_Triangle()
740 if (normalPtr != NULL) in IRGeometry_Submit_Triangle()
741 Q3Vector3D_Normalize(normalPtr, &triNormal); in IRGeometry_Submit_Triangle()
/dports/java/java3d/java3d-1.5.2/j3d-core/src/native/d3d/
H A DGeometryArrayRetained.cpp59 jfloat *normalPtr; member
248 src = strideData->normalPtr; in copyVertexToVB()
908 src = strideData->normalPtr + in copyOneVertexToVB()
1327 *(strideData->normalPtr) = nx; in splitVertexToMultipleVB()
1328 *(strideData->normalPtr+1) = ny; in splitVertexToMultipleVB()
1329 *(strideData->normalPtr+2) = nz; in splitVertexToMultipleVB()
1383 nx = *strideData->normalPtr; in splitVertexToMultipleVB()
1385 ny = *(strideData->normalPtr+1); in splitVertexToMultipleVB()
2246 if (strideData->normalPtr) { in renderGeometry()
2247 strideData->normalPtr += in renderGeometry()
[all …]
/dports/x11-toolkits/tk85/tk8.5.19/generic/
H A DtkMenu.c588 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in MenuCmd() local
592 Tcl_IncrRefCount(normalPtr); in MenuCmd()
597 CloneMenu(menuPtr, newMenuName, normalPtr); in MenuCmd()
608 Tcl_DecrRefCount(normalPtr); in MenuCmd()
2082 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in ConfigureMenuCloneEntries() local
2090 Tcl_IncrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2092 normalPtr); in ConfigureMenuCloneEntries()
2100 Tcl_DecrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2448 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in MenuAddOrInsert() local
2455 Tcl_IncrRefCount(normalPtr); in MenuAddOrInsert()
[all …]
/dports/x11-toolkits/tk86/tk8.6.12/generic/
H A DtkMenu.c536 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in Tk_MenuObjCmd() local
540 Tcl_IncrRefCount(normalPtr); in Tk_MenuObjCmd()
545 CloneMenu(menuPtr, newMenuName, normalPtr); in Tk_MenuObjCmd()
556 Tcl_DecrRefCount(normalPtr); in Tk_MenuObjCmd()
2061 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in ConfigureMenuCloneEntries() local
2069 Tcl_IncrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2071 normalPtr); in ConfigureMenuCloneEntries()
2079 Tcl_DecrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2431 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in MenuAddOrInsert() local
2438 Tcl_IncrRefCount(normalPtr); in MenuAddOrInsert()
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/
H A DtkMenu.c624 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); local
628 Tcl_IncrRefCount(normalPtr);
644 Tcl_DecrRefCount(normalPtr);
2124 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); local
2132 Tcl_IncrRefCount(normalPtr);
2134 normalPtr);
2142 Tcl_DecrRefCount(normalPtr);
2499 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); local
2507 Tcl_IncrRefCount(normalPtr);
2508 CloneMenu(cascadeMenuPtr, newCascadePtr, normalPtr);
[all …]
/dports/x11-toolkits/tk87/tk8.7a5/generic/
H A DtkMenu.c541 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in Tk_MenuObjCmd() local
545 Tcl_IncrRefCount(normalPtr); in Tk_MenuObjCmd()
550 CloneMenu(menuPtr, newMenuName, normalPtr); in Tk_MenuObjCmd()
561 Tcl_DecrRefCount(normalPtr); in Tk_MenuObjCmd()
2068 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in ConfigureMenuCloneEntries() local
2076 Tcl_IncrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2078 normalPtr); in ConfigureMenuCloneEntries()
2086 Tcl_DecrRefCount(normalPtr); in ConfigureMenuCloneEntries()
2432 Tcl_Obj *normalPtr = Tcl_NewStringObj("normal", -1); in MenuAddOrInsert() local
2439 Tcl_IncrRefCount(normalPtr); in MenuAddOrInsert()
[all …]
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/
H A DFCDGeometryPolygonsTools.cpp246 … float* normalPtr = &normalsData[normalsIndices[faceVertexOffset + vertexIndex] * normalsStride]; in GenerateTextureTangentBasis() local
247 FMVector3& normal = *(FMVector3*)normalPtr; in GenerateTextureTangentBasis()
291 if ((normalPtr == list[v].normalPointer) && (texcoordPtr == list[v].texCoordPointer)) in GenerateTextureTangentBasis()
301 v.normalPointer = normalPtr; in GenerateTextureTangentBasis()
390 float* normalPtr = &normalsData[normalsIndices[faceVertexOffset + vertexIndex] * normalsStride]; in GenerateTextureTangentBasis() local
399 if ((list[v].normalPointer == normalPtr) && (list[v].texCoordPointer == texcoordPtr)) in GenerateTextureTangentBasis()
414 FMVector3 binormal = (*(FMVector3*)normalPtr ^ list[v].tangent).Normalize(); in GenerateTextureTangentBasis()
/dports/games/avp/avp-20170505/src/
H A Dfrustum.c887 VECTORCH *normalPtr = (VECTORCH*)(Global_ShapeNormals + polyPtr->PolyNormalIndex); in PolygonWithinFrustrum() local
952 if (Dot(&pop, normalPtr)>0) return 0; in PolygonWithinFrustrum()
977 VECTORCH *normalPtr = (VECTORCH*)(Global_ShapeNormals + polyPtr->PolyNormalIndex); in PolygonShouldBeDrawn() local
985 if (Dot(&pop, normalPtr)>0) return 0; in PolygonShouldBeDrawn()
/dports/games/avp/avp-20170505/src/avp/win95/
H A Dpldnet.h1058 extern void AddNetMsg_MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, …
1063 extern void AddNetMsg_PredatorLaserSights(VECTORCH *positionPtr, VECTORCH *normalPtr, DISPLAYBLOCK …
H A Dpldnet.c4070 void AddNetMsg_MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int mod… in AddNetMsg_MakeDecal() argument
4122 messagePtr->Direction = *normalPtr; in AddNetMsg_MakeDecal()
4311 void AddNetMsg_PredatorLaserSights(VECTORCH *positionPtr, VECTORCH *normalPtr, DISPLAYBLOCK *dispPt… in AddNetMsg_PredatorLaserSights() argument
4347 MakeMatrixFromDirection(normalPtr,&orientMat); in AddNetMsg_PredatorLaserSights()
/dports/lang/squeak/Squeak-4.10.2.2614-src/unix/src/plugins/Squeak3D/
H A DSqueak3D.c690 int *normalPtr; in b3dLoadVertexBuffer() local
699 normalPtr = vbLoadArraysize(interpreterProxy->stackObjectValue(4), 3 * count); in b3dLoadVertexBuffer()
709 if (normalPtr == null) { in b3dLoadVertexBuffer()
712 defaultNormal = normalPtr; in b3dLoadVertexBuffer()
737 if (!(normalPtr == null)) { in b3dLoadVertexBuffer()
/dports/games/dhewm3/dhewm3-1.5.1/neo/idlib/math/
H A DSimd_AltiVec.cpp7302 float *normalPtr = verts[0].normal.ToFloatPtr(); in DeriveUnsmoothedTangents() local
7626 vecLd1 = vec_ld( 0, normalPtr + ( i * DRAWVERT_OFFSET ) ); in DeriveUnsmoothedTangents()
7627 vecLd2 = vec_ld( 32, normalPtr + ( i * DRAWVERT_OFFSET ) ); in DeriveUnsmoothedTangents()
7635 ALIGNED_STORE3( normalPtr + ( i * DRAWVERT_OFFSET ), vecStore1, vecStore2, vecStore3 ); in DeriveUnsmoothedTangents()
7638 vecLd3 = vec_ld( 32, normalPtr + ( (i+1) * DRAWVERT_OFFSET )); in DeriveUnsmoothedTangents()
7647 ALIGNED_STORE3( normalPtr + ((i+1) * DRAWVERT_OFFSET), vecStore1, vecStore2, vecStore3 ); in DeriveUnsmoothedTangents()
7650 vecLd1 = vec_ld( 0, normalPtr + ( (i+2) * DRAWVERT_OFFSET ) ); in DeriveUnsmoothedTangents()
7658 ALIGNED_STORE3( normalPtr + ((i+2) * DRAWVERT_OFFSET), vecStore1, vecStore2, vecStore3 ); in DeriveUnsmoothedTangents()
7661 vecLd2 = vec_ld( 0, normalPtr + ((i+3) * DRAWVERT_OFFSET ) ); in DeriveUnsmoothedTangents()
7662 vecLd3 = vec_ld( 32, normalPtr + ((i+3) * DRAWVERT_OFFSET ) ); in DeriveUnsmoothedTangents()
[all …]