瀏覽代碼
			
			
			fix bug in QuaternionFromVector3ToVector3 (#1263)
			
			
				pull/1264/head
			
			
		 
		
			
				
					
						
						jvocaturo
					
					5 年之前
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  沒有發現已知的金鑰在資料庫的簽署中
				  
				  	
						GPG 金鑰 ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			 共有 
 1 個檔案被更改,包括 
1 行新增 和 
1 行删除
			
		 
		
			
				- 
					
					
					 
					src/raymath.h
				
 
			
		
		
			
				
					
					
						
							
								
									
										
											
												
	
		
			
				| 
				
				
					
						
					
				
				
				 | 
			
			 | 
			
			@ -1284,7 +1284,7 @@ RMDEF Quaternion QuaternionFromVector3ToVector3(Vector3 from, Vector3 to) | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			
 | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    result.x = cross.x; | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    result.y = cross.y; | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    result.z = cross.y; | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    result.z = cross.z; | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    result.w = 1.0f + cos2Theta;     // NOTE: Added QuaternioIdentity() | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			
 | 
			
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
			    // Normalize to essentially nlerp the original and identity to 0.5 | 
			
		
		
	
	
		
			
				| 
				
					
						
					
				
				
				
				 | 
			
			 | 
			
			
 |